From 3103dfa1f3db7542084436eed282689e186506f1 Mon Sep 17 00:00:00 2001 From: Jamieson Christian Date: Sun, 1 Jun 2003 02:37:37 +0000 Subject: Fixed SysEx errors svn-id: r8212 --- backends/midi/windows.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'backends') diff --git a/backends/midi/windows.cpp b/backends/midi/windows.cpp index e1b61cbaa6..c4ebcfd9ce 100644 --- a/backends/midi/windows.cpp +++ b/backends/midi/windows.cpp @@ -99,7 +99,7 @@ void MidiDriver_WIN::sysEx (byte *msg, uint16 length) } midiOutUnprepareHeader (_mo, &_streamHeader, sizeof (_streamHeader)); - _streamBuffer [0] = 0xFF; + _streamBuffer [0] = 0xF0; memcpy(&_streamBuffer[1], msg, length); _streamBuffer [length+1] = 0xF7; @@ -107,7 +107,7 @@ void MidiDriver_WIN::sysEx (byte *msg, uint16 length) _streamHeader.dwBufferLength = length + 2; _streamHeader.dwBytesRecorded = length + 2; _streamHeader.dwUser = 0; -// _streamHeader.dwFlags |= MHDR_ISSTRM; + _streamHeader.dwFlags = 0; MMRESULT result = midiOutPrepareHeader (_mo, &_streamHeader, sizeof (_streamHeader)); if (result != MMSYSERR_NOERROR) { -- cgit v1.2.3