[Scummvm-cvs-logs] SF.net SVN: scummvm:[46558] scummvm/trunk/engines/sci/sfx/softseq/adlib.cpp
thebluegr at users.sourceforge.net
thebluegr at users.sourceforge.net
Fri Dec 25 17:20:40 CET 2009
Revision: 46558
http://scummvm.svn.sourceforge.net/scummvm/?rev=46558&view=rev
Author: thebluegr
Date: 2009-12-25 16:20:40 +0000 (Fri, 25 Dec 2009)
Log Message:
-----------
Added a stub for signal 0xA0 (polyphonic key pressure - aftertouch)
Modified Paths:
--------------
scummvm/trunk/engines/sci/sfx/softseq/adlib.cpp
Modified: scummvm/trunk/engines/sci/sfx/softseq/adlib.cpp
===================================================================
--- scummvm/trunk/engines/sci/sfx/softseq/adlib.cpp 2009-12-25 15:58:18 UTC (rev 46557)
+++ scummvm/trunk/engines/sci/sfx/softseq/adlib.cpp 2009-12-25 16:20:40 UTC (rev 46558)
@@ -248,6 +248,7 @@
renewNotes(-1, true);
}
+// MIDI messages can be found at http://www.midi.org/techspecs/midimessages.php
void MidiDriver_Adlib::send(uint32 b) {
byte command = b & 0xf0;
byte channel = b & 0xf;
@@ -307,9 +308,12 @@
case 0xc0:
_channels[channel].patch = op1;
break;
- case 0xd0: // Aftertouch
+ case 0xa0: // Polyphonic key pressure (aftertouch)
// Aftertouch in the OPL thing?
break;
+ case 0xd0: // Channel pressure (aftertouch)
+ // Aftertouch in the OPL thing?
+ break;
case 0xf0: // SysEx, ignore it
break;
default:
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list