Compile fix for non OSS systems.

This commit is contained in:
Patrik Stridvall 1998-10-17 12:54:39 +00:00 committed by Alexandre Julliard
parent f361dea170
commit 4b774ca8e1
1 changed files with 2 additions and 0 deletions

View File

@ -874,7 +874,9 @@ static DWORD MIDI_mciPlay(UINT16 wDevID, DWORD dwFlags, LPMCI_PLAY_PARMS lpParms
}
/* stop all notes */
#ifdef HAVE_OSS
modMessage(wDevID, MODM_DATA, 0, (MIDI_CTL_CHANGE << 8) | 0x78, 0);
#endif
MCIMidiDev[wDevID].dwStatus = MCI_MODE_STOP;
if (lpParms && (dwFlags & MCI_NOTIFY)) {
TRACE(midi, "MCI_NOTIFY_SUCCESSFUL %08lX !\n", lpParms->dwCallback);