Hello.
Attached is a patch that (hopefully) implements sending of MIDI System
Exclusive messages on Windows. If someone could review it and send me a
build to test with, I'd be grateful.
Sincerely,
Sean M. Pappalardo
"D.J. Pegasus"
<<--------------------------------------------------------------------------------->>
This E-Mail message has been scanned for viruses
and cleared by >>SmartMail<< from Smarter Technology, Inc.
<<--------------------------------------------------------------------------------->>
Index: src/midiobjectwin.cpp
===================================================================
--- src/midiobjectwin.cpp (revision 2450)
+++ src/midiobjectwin.cpp (working copy)
@@ -153,3 +153,15 @@
DWORD raw = word;
midiOutShortMsg(outhandle, word);
}
+
+void MidiObjectWin::sendSysexMsg(unsigned char data[], unsigned int length) {
+
+ struct MIDIHDR header;
+ memset (&header, 0, sizeof(header));
+
+ header.lpData = data;
+ header.dwBufferLength = DWORD(length);
+ header.dwBytesRecorded = DWORD(length);
+
+ midiOutLongMsg(outhandle, &header, length);
+}
------------------------------------------------------------------------------
_______________________________________________
Mixxx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mixxx-devel