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
This commit is contained in:
Max Horn 2003-03-03 22:39:04 +00:00
parent 0af6652b0b
commit cc8f6f5ded

View File

@ -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();