[PATCH 1/2] midimap: Perform stricter error-checking.

Joerg-Cyril.Hoehle at t-systems.com Joerg-Cyril.Hoehle at t-systems.com
Mon Feb 1 07:26:44 CST 2010


I think it's best for the next two patches to stay together.

The one line
-    if (lpMidiHdr->dwFlags & (MHDR_ISSTRM|MHDR_PREPARED))
was a plain bug that prevented a MIDIHDR from being submitted repeatedly.  I.e. I expect the following sequence to work
dwFlags=0; Prepare; Submit; Unprepare; /*Leaving flags as is */; Prepare; ...

	Jörg Höhle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-midimap-Perform-stricter-error-checking.patch
Type: application/octet-stream
Size: 2824 bytes
Desc: 0005-midimap-Perform-stricter-error-checking.patch
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20100201/b97ea54d/attachment.obj>

More information about the wine-patches mailing list