http://bugs.winehq.org/show_bug.cgi?id=32406
--- Comment #3 from Andrew Eikum aeikum@codeweavers.com 2012-12-12 10:00:37 CST --- Created attachment 42790 --> http://bugs.winehq.org/attachment.cgi?id=42790 Patches to fix
These two patches should (doubly) fix the issue. They make dsound fill that member correctly, and winealsa be less strict about checking the value. The other drivers don't have this issue.
I think the race condition is dependent on whether dsound_Timer gets called in between iterations of the while() loop in <tests/ds3d.c>.