mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-19 00:15:30 +00:00
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:
parent
0af6652b0b
commit
cc8f6f5ded
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user