try enabling windows MME MIDI sysex support
authorPaul Davis <paul@linuxaudiosystems.com>
Mon, 5 Oct 2015 16:24:08 +0000 (12:24 -0400)
committerPaul Davis <paul@linuxaudiosystems.com>
Mon, 5 Oct 2015 16:24:15 +0000 (12:24 -0400)
libs/backends/portaudio/winmmemidi_input_device.cc
libs/backends/portaudio/winmmemidi_output_device.cc

index ed9625d28b0404eedf1ab82d14dec9859a8e7f05..9fcee83efb4aa9dec47926bd1068f693f47f1b31 100644 (file)
@@ -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
index 9c9b5134439adb95ff5d9b49cf809105368c11b6..4c5fc882df437eef2c314c4803745087b49961df 100644 (file)
@@ -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