aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorMax Horn2003-03-03 22:39:04 +0000
committerMax Horn2003-03-03 22:39:04 +0000
commitcc8f6f5ded941bbdc1fce890ab7dd7b4a150ceb9 (patch)
tree24f258d284eecbe7d28d73bb1a5bf270f94c3741 /backends
parent0af6652b0b1ea3dcc0b46eedceb8fd08fc5e97cf (diff)
downloadscummvm-rg350-cc8f6f5ded941bbdc1fce890ab7dd7b4a150ceb9.tar.gz
scummvm-rg350-cc8f6f5ded941bbdc1fce890ab7dd7b4a150ceb9.tar.bz2
scummvm-rg350-cc8f6f5ded941bbdc1fce890ab7dd7b4a150ceb9.zip
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
Diffstat (limited to 'backends')
-rw-r--r--backends/midi/coreaudio.cpp6
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();