+ DEBUG_MIDI(string_compose("Unable to prepare header: %1\n",
+ get_error_string(result)));
+ return;
+ }
+
+ result = midiInAddBuffer(m_handle, midi_header, sizeof(MIDIHDR));
+ if (result != MMSYSERR_NOERROR) {
+ DEBUG_MIDI(string_compose("Unable to add sysex buffer to buffer pool : %1\n",
+ get_error_string(result)));