http://bugs.winehq.org/show_bug.cgi?id=28723
--- Comment #124 from Jörg Höhle hoehle@users.sourceforge.net 2012-01-23 04:12:08 CST --- One thing I've had in mind for several weeks now is whether we should switch wineALSA's default period to 20ms -- just like wineOSS and CoreAudio use -- until after we have a design that ensures running glitch-free[*] in the worst-case scenario and until after relase 1.4. This takes advantage of Alexey's observations in comment #19, namely that XAudio2 will use larger buffers when it sees such a period, causing less stress in Wine.
[*] The missing key currently is that winealsa starts too early: there's so little in the buffer that the next underrun is close.
What I don't know at all is how DSound would react to that. It looks like native DSound has been using 10ms ticks for over a decade. OTOH, all users of wineoss have been using exactly that 10/20ms combination since 1.3.25.