http://bugs.winehq.org/show_bug.cgi?id=28723
--- Comment #116 from Jörg Höhle hoehle@users.sourceforge.net 2011-12-23 09:27:47 CST --- Created attachment 38086 --> http://bugs.winehq.org/attachment.cgi?id=38086 Delay start by waiting for 2 ALSA periods
Instead of a lead-in, we can delay the moment ALSA starts until there's more data in it. The more data in ALSA the later underruns happen. What I like about this solution is that apps that prefill more are not delayed. This patch causes no feature interaction with GetPosition, but needs resolution of bug #29056 before going into git. Wine must play short samples and residual frames. You should nevertheless try it now and see how it helps with the Rage use case at the cost of increased latency.