diff options
author | Jonathan Gray | 2003-06-01 02:08:47 +0000 |
---|---|---|
committer | Jonathan Gray | 2003-06-01 02:08:47 +0000 |
commit | 8f4660fb5c85b3168b02ed3d5d53060209246cca (patch) | |
tree | d07dfa2c441ef197b2fc6920e10b18cbaef1c0f6 /backends | |
parent | 70e2b20c0b81e1ac1923f8817d5d063821812c69 (diff) | |
download | scummvm-rg350-8f4660fb5c85b3168b02ed3d5d53060209246cca.tar.gz scummvm-rg350-8f4660fb5c85b3168b02ed3d5d53060209246cca.tar.bz2 scummvm-rg350-8f4660fb5c85b3168b02ed3d5d53060209246cca.zip |
hopefully add sysex support to alsa midi backend
svn-id: r8210
Diffstat (limited to 'backends')
-rw-r--r-- | backends/midi/alsa.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/backends/midi/alsa.cpp b/backends/midi/alsa.cpp index 5d039cbdc0..8d76f00ca9 100644 --- a/backends/midi/alsa.cpp +++ b/backends/midi/alsa.cpp @@ -58,6 +58,7 @@ public: int open(); void close(); void send(uint32 b); + void sysEx(byte *msg, uint16 length); private: void send_event(int do_flush); @@ -185,6 +186,10 @@ void MidiDriver_ALSA::send(uint32 b) { } } +void MidiDriver_ALSA::sysEx(byte *msg, uint16 length) { + snd_seq_ev_set_sysex(&ev, length, msg); +} + int MidiDriver_ALSA::parse_addr(char *arg, int *client, int *port) { char *p; |