http://bugs.winehq.org/show_bug.cgi?id=30118
--- Comment #1 from Andrew Eikum aeikum@codeweavers.com 2012-03-09 08:56:00 CST --- Created attachment 39267 --> http://bugs.winehq.org/attachment.cgi?id=39267 DSound cleanup patchset
(In reply to comment #0)
So this is partly a bug in DSound which I've already blamed for using GetPosition instead of GetCurrentPadding when feeding data, witness comment #21, bug #29472, comment #17 or bug #29497, comment #1. However the subject of this bug report shall be winealsa's incomplete underrun recovery.
I haven't yet thought about fixing ALSA's behavior, but here's the patchset to fix dsound. The first few patches up to the resampler are for Bug 14717. The patches after that are cleanup patches, with the last one changing it to use GCP instead of GetPosition.