https://bugs.winehq.org/show_bug.cgi?id=41007
Ivan Molodetskikh yalterz@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |yalterz@gmail.com
--- Comment #4 from Ivan Molodetskikh yalterz@gmail.com --- Hello, I'd like to describe my experience with the added sound latency. I'm the author of https://bugs.winehq.org/show_bug.cgi?id=40716
I'm using ALSA (no PulseAudio), with patched winealsa.drv for reduced latency. The patch is simply changing three constants at the top of mmdevdrv.c (DefaultPeriod, MinimumPeriod, EXTRA_SAFE_RT) to lower values (the ones that work for me: 22000, 22000, 11000 respectively).
On wine 1.9.9 and earlier where everything works fine, this results in an extremely low (almost none) audio latency, which is good. Reducing DefaultPeriod and MinimumPeriod lower makes the sound crackle a lot. Reducing EXTRA_SAFE_RT doesn't seem to change anything.
On wine 1.9.10 and above the "minimal" values of the constants seem to be around 10000 and 10000 for me, below that there's no sound at all (there's no crackling stage). The audio latency is much higher (both on "good" values from wine 1.9.9 and on the new minimal values).
I tested it on wine 1.9.17 where the commit was reverted, and while the bug I reported did get fixed (by the way it was introduced in wine 1.9.11 while the high audio latency one - in 1.9.10), the high audio latency didn't.