http://bugs.winehq.org/show_bug.cgi?id=14717
--- Comment #156 from Raymond superquad.vortex2@gmail.com 2011-02-28 08:22:03 CST --- (In reply to comment #145)
OK, so let me reject the patch until further debugging.
Task for Raymond: test all his sound cards with both alsa and oss without the patch, but with the HKCU/Software/Wine/DirectSound/MaxShadowSize set to "0". This is a prerequisite for my development of a replacement patch series, as it will remove this registry setting.
Your patch actually make wineoss (hardware acceleration) unusable ,
set Maxshadowsize=0 does not help too
however set resample quality to 0 or 1 seem improve that situation a little bit but it still not stable than the version since the quality become worse when using WINEDEBUG=+dsound
Both sound card support 11025, 22050 and 44100 Hz, and don't need any resampling when playing 44100Hz stereo s16
seem like resampler use too much CPU since wineoss driver use a period size lower than winealsa for the same sound card