[Scummvm-cvs-logs] CVS: scummvm/backends/midi alsa.cpp,1.9,1.10
Jonathan Gray
khalek at users.sourceforge.net
Sat May 31 20:40:06 CEST 2003
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/scumm instrument.cpp,2.21,2.22
- Next message: [Scummvm-cvs-logs] CVS: scummvm/sky disk.cpp,1.25,1.26 disk.h,1.4,1.5 intro.cpp,1.22,1.23 logic.cpp,1.69,1.70 sky.cpp,1.46,1.47 sound.cpp,1.9,1.10 sound.h,1.5,1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/scummvm/backends/midi
In directory sc8-pr-cvs1:/tmp/cvs-serv13878
Modified Files:
alsa.cpp
Log Message:
actually sending the event helps too
Index: alsa.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/midi/alsa.cpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- alsa.cpp 1 Jun 2003 03:25:14 -0000 1.9
+++ alsa.cpp 1 Jun 2003 03:39:44 -0000 1.10
@@ -30,7 +30,6 @@
#include "stdafx.h"
#include "common/engine.h" // for warning/error/debug
#include <alsa/asoundlib.h>
-#include "common/util.h" // for hexdump
/*
* ALSA sequencer driver
@@ -195,10 +194,10 @@
return;
}
buf[0] = 0xF0;
- memcpy(&buf[1], msg, length);
+ memcpy(buf + 1, msg, length);
buf[length + 1] = 0xF7;
- // hexdump(buf, length + 2);
snd_seq_ev_set_sysex(&ev, length + 2, &buf);
+ send_event(1);
}
int MidiDriver_ALSA::parse_addr(char *arg, int *client, int *port) {
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/scumm instrument.cpp,2.21,2.22
- Next message: [Scummvm-cvs-logs] CVS: scummvm/sky disk.cpp,1.25,1.26 disk.h,1.4,1.5 intro.cpp,1.22,1.23 logic.cpp,1.69,1.70 sky.cpp,1.46,1.47 sound.cpp,1.9,1.10 sound.h,1.5,1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list