diff options
-rw-r--r-- | backends/midi/coreaudio.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
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(); |