[Scummvm-cvs-logs] SF.net SVN: scummvm:[54428] scummvm/trunk/engines/sci/sound/drivers/midi. cpp

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Tue Nov 23 16:47:55 CET 2010


Revision: 54428
          http://scummvm.svn.sourceforge.net/scummvm/?rev=54428&view=rev
Author:   thebluegr
Date:     2010-11-23 15:47:54 +0000 (Tue, 23 Nov 2010)

Log Message:
-----------
SCI: Ignore polyphonic/channel aftertouch (0xa0 / 0xd0) in the MIDI driver, like in the Adlib driver. SSCI doesn't handle these, so we shouldn't handle them either

Modified Paths:
--------------
    scummvm/trunk/engines/sci/sound/drivers/midi.cpp

Modified: scummvm/trunk/engines/sci/sound/drivers/midi.cpp
===================================================================
--- scummvm/trunk/engines/sci/sound/drivers/midi.cpp	2010-11-23 12:07:21 UTC (rev 54427)
+++ scummvm/trunk/engines/sci/sound/drivers/midi.cpp	2010-11-23 15:47:54 UTC (rev 54428)
@@ -335,6 +335,10 @@
 	case 0xc0:
 		setPatch(channel, op1);
 		break;
+	// The original MIDI driver from sierra ignores aftertouch completely, so should we
+	case 0xa0: // Polyphonic key pressure (aftertouch)
+	case 0xd0: // Channel pressure (aftertouch)
+		break;
 	case 0xe0:
 		_driver->send(b);
 		break;


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