http://bugs.winehq.org/show_bug.cgi?id=28413
Andrew Eikum aeikum@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #37156|0 |1 is obsolete| | Attachment #37169|0 |1 is obsolete| |
--- Comment #22 from Andrew Eikum aeikum@codeweavers.com 2012-02-08 10:13:04 CST --- Created attachment 38749 --> http://bugs.winehq.org/attachment.cgi?id=38749 winmm: Allow new sounds to interrupt previous PlaySound invocations
So here's a cleanup patch which I'm happy with. It removes the notion of a list of playsound invocations, instead only tracking the very last one. A review by a second pair of eyes would be helpful.
I'm still deciding about sending this for 1.4. It's not a trivial change, but it's not huge either and I feel like it's a fairly important bug to fix. Although it would be very nice to have some tests for PlaySound() too, so maybe I'll work on that and submit after 1.4 instead.