try enabling windows MME MIDI sysex support
This commit is contained in:
parent
33d614359a
commit
eb4c9b022a
@ -247,7 +247,6 @@ void
|
||||
WinMMEMidiInputDevice::handle_sysex_msg (MIDIHDR* const midi_header,
|
||||
uint32_t timestamp)
|
||||
{
|
||||
#ifdef ENABLE_SYSEX
|
||||
LPMIDIHDR header = (LPMIDIHDR)midi_header;
|
||||
size_t byte_count = header->dwBytesRecorded;
|
||||
|
||||
@ -269,7 +268,6 @@ WinMMEMidiInputDevice::handle_sysex_msg (MIDIHDR* const midi_header,
|
||||
if (result != MMSYSERR_NOERROR) {
|
||||
DEBUG_MIDI (get_error_string (result));
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
// fix param order
|
||||
|
@ -444,7 +444,6 @@ WinMMEMidiOutputDevice::midi_output_thread ()
|
||||
continue;
|
||||
}
|
||||
|
||||
#if ENABLE_SYSEX
|
||||
MIDIHDR header;
|
||||
header.dwBufferLength = h.size;
|
||||
header.dwFlags = 0;
|
||||
@ -477,7 +476,6 @@ WinMMEMidiOutputDevice::midi_output_thread ()
|
||||
get_error_string (result)));
|
||||
break;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
#ifdef USE_MMCSS_THREAD_PRIORITIES
|
||||
|
Loading…
Reference in New Issue
Block a user