[Scummvm-cvs-logs] CVS: scummvm/sound mididrv.cpp,1.15,1.16
Jamieson Christian
jamieson630 at users.sourceforge.net
Mon Oct 21 09:50:03 CEST 2002
Update of /cvsroot/scummvm/scummvm/sound
In directory usw-pr-cvs1:/tmp/cvs-serv2091/scummvm/sound
Modified Files:
mididrv.cpp
Log Message:
Pitch bend fix for ALSA driver
Index: mididrv.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sound/mididrv.cpp,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- mididrv.cpp 21 Oct 2002 12:43:18 -0000 1.15
+++ mididrv.cpp 21 Oct 2002 16:49:29 -0000 1.16
@@ -1212,7 +1212,9 @@
break;
case 0xE0:{
- long theBend = ((((long)midiCmd[1] + (long)(midiCmd[2] << 7))) - 0x2000) / 4;
+ // long theBend = ((((long)midiCmd[1] + (long)(midiCmd[2] << 7))) - 0x2000) / 4;
+ // snd_seq_ev_set_pitchbend(&ev, chanID, theBend);
+ long theBend = (long)midiCmd[1] + (long)(midiCmd[2] << 7);
snd_seq_ev_set_pitchbend(&ev, chanID, theBend);
send_event(1);
}
More information about the Scummvm-git-logs
mailing list