winealsa.drv: Mark every sysex buffer being added.
This commit is contained in:
parent
597dac7890
commit
60cde93337
|
@ -574,6 +574,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 {
|
||||
|
|
Loading…
Reference in New Issue