[Scummvm-cvs-logs] CVS: scummvm/sound mididrv.cpp,1.18,1.19
Max Horn
fingolfin at users.sourceforge.net
Wed Oct 23 18:36:03 CEST 2002
Update of /cvsroot/scummvm/scummvm/sound
In directory usw-pr-cvs1:/tmp/cvs-serv15939
Modified Files:
mididrv.cpp
Log Message:
QuickTime midi driver will now not error out on pitch bend changes. Still, pitch bending is very wrong
Index: mididrv.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sound/mididrv.cpp,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- mididrv.cpp 23 Oct 2002 00:21:44 -0000 1.18
+++ mididrv.cpp 24 Oct 2002 01:35:31 -0000 1.19
@@ -799,6 +799,12 @@
for (int i = 0; i < 128; i++)
NAPlayNote(qtNoteAllocator, qtNoteChannel[chanID], i, 0);
break;
+ case 0x64:
+ case 0x65:
+ case 0x06:
+ case 0x26:
+ // pitch bend changes - ignore those for now
+ break;
default:
error("Unknown MIDI effect: %08x\n", (int)b);
More information about the Scummvm-git-logs
mailing list