[Scummvm-cvs-logs] CVS: scummvm/backends/midi alsa.cpp,1.7,1.8
Jonathan Gray
khalek at users.sourceforge.net
Sat May 31 19:09:04 CEST 2003
Update of /cvsroot/scummvm/scummvm/backends/midi
In directory sc8-pr-cvs1:/tmp/cvs-serv22647
Modified Files:
alsa.cpp
Log Message:
hopefully add sysex support to alsa midi backend
Index: alsa.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/midi/alsa.cpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- alsa.cpp 18 May 2003 13:39:02 -0000 1.7
+++ alsa.cpp 1 Jun 2003 02:08:47 -0000 1.8
@@ -58,6 +58,7 @@
int open();
void close();
void send(uint32 b);
+ void sysEx(byte *msg, uint16 length);
private:
void send_event(int do_flush);
@@ -183,6 +184,10 @@
send_event(1);
break;
}
+}
+
+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) {
More information about the Scummvm-git-logs
mailing list