[Bug 28464] winmm causes DSOUND_callback Wave queue corrupted

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Sep 23 03:46:53 CDT 2011


http://bugs.winehq.org/show_bug.cgi?id=28464

--- Comment #4 from Jörg Höhle <hoehle at users.sourceforge.net> 2011-09-23 03:46:49 CDT ---
Created attachment 36518
  --> http://bugs.winehq.org/attachment.cgi?id=36518
Set WHDR_DONE right before DriverCallback

This patch separates the to_play queue from the done queue.

Note that threading might allow thread #2 to issue DriverCallback before thread
#1...  The notification order would be messed up!  There's no solution to this
short of having a unique thread send out all asynchronous notifications (cf.
bug #3930, it looks like native actually does that).

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the wine-bugs mailing list