mirror of
https://github.com/isledecomp/isle.git
synced 2024-11-26 17:46:38 -05:00
Match MxMusicManager::ResetStream
This commit is contained in:
parent
ffee6a4e5b
commit
f1300d9de5
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ MxResult MxMusicManager::ResetStream()
|
|||
ResetBuffer();
|
||||
}
|
||||
|
||||
if (m_midiHdrP->dwFlags & (MHDR_DONE | MHDR_PREPARED)) {
|
||||
if (m_midiHdrP->dwFlags & MHDR_DONE || m_midiHdrP->dwFlags & MHDR_PREPARED) {
|
||||
if (midiOutUnprepareHeader((HMIDIOUT) m_midiStreamH, m_midiHdrP, sizeof(MIDIHDR)) != MMSYSERR_NOERROR)
|
||||
goto done;
|
||||
|
||||
|
|
Loading…
Reference in a new issue