winmm: Fix notification when recording using MSACM.

Joerg-Cyril.Hoehle at t-systems.com Joerg-Cyril.Hoehle at t-systems.com
Mon Mar 11 10:13:35 CDT 2013


Hi,

this completes the commit from September 2011.  The goal is to set
the WHDR_DONE flag as late as possible, that is just before sending
the notification. Until then, the headers remain in the queue.

To achieve this, we eliminate the tail call and turn it into a loop,
which allows us to preserve the local state in the variable "last".

See bug #33045, comment #12 for reference.

Regards,
	Jörg Höhle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-winmm-Fix-notification-when-recording-using-MSACM.patch
Type: application/octet-stream
Size: 3016 bytes
Desc: 0001-winmm-Fix-notification-when-recording-using-MSACM.patch
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20130311/e20faf58/attachment.obj>


More information about the wine-patches mailing list