https://bugs.winehq.org/show_bug.cgi?id=56430
--- Comment #2 from Patrick Hibbs hibbsncc1701@gmail.com --- OK following the workaround at https://gitlab.freedesktop.org/pipewire/pipewire/-/wikis/Troubleshooting#und...
seems to work. Although this seems inconsistent.
Practically no audio works under wine in the default config for me, nor at a "headroom" setting of 1024.
Most of my applications seem to work with the "headroom" setting set to 2048. (Prey 2017, Two Point Hospital, etc.)
Some applications need a "headroom" setting of 4096 to output anything. (Such as Sword Art Online: Re: Hollow Fragment)
The biggest one I've seen as of this post is a "headroom" setting of 8192 for Seed of the Dead Sweet Home. (GOG Version)
The linked workaround says that this is caused by wine (or the app) not giving pipewire data fast enough. Playing with the headroom setting seems to confirm this, as smaller "headroom" values for some apps can cause the app to start getting noticeable pops and stutters for values that are slightly under what is needed. Too big of a gap between the current "headroom" setting and what is actually needed by the app however causes the issue in this bug report.