From cc8f6f5ded941bbdc1fce890ab7dd7b4a150ceb9 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Mon, 3 Mar 2003 22:39:04 +0000 Subject: added SysEx support to the CoreAudio midi backend - though I have no clue what effect this will have, or how I could test this... svn-id: r6677 --- backends/midi/coreaudio.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/backends/midi/coreaudio.cpp b/backends/midi/coreaudio.cpp index 879162290e..199e17f730 100644 --- a/backends/midi/coreaudio.cpp +++ b/backends/midi/coreaudio.cpp @@ -42,6 +42,7 @@ public: int open(); void close(); void send(uint32 b); + void sysEx(byte *msg, uint16 length); private: AudioUnit au_MusicDevice; @@ -114,6 +115,11 @@ void MidiDriver_CORE::send(uint32 b) MusicDeviceMIDIEvent(au_MusicDevice, status_byte, first_byte, seccond_byte, 0); } +void MidiDriver_CORE::sysEx(byte *msg, uint16 length) +{ + MusicDeviceSysEx(au_MusicDevice, msg, length); +} + MidiDriver *MidiDriver_CORE_create() { return new MidiDriver_CORE(); -- cgit v1.2.3