wineoss.drv: Mark every buffer being added.

This commit is contained in:
Christian Costa 2007-06-05 22:01:44 +02:00 committed by Alexandre Julliard
parent cb28969c2a
commit 8023a80ec3

View file

@ -846,6 +846,7 @@ static DWORD midAddBuffer(WORD wDevID, LPMIDIHDR lpMidiHdr, DWORD dwSize)
if (!(lpMidiHdr->dwFlags & MHDR_PREPARED)) return MIDIERR_UNPREPARED;
EnterCriticalSection(&crit_sect);
lpMidiHdr->dwFlags |= MHDR_INQUEUE;
if (MidiInDev[wDevID].lpQueueHdr == 0) {
MidiInDev[wDevID].lpQueueHdr = lpMidiHdr;
} else {