[Scummvm-cvs-logs] scummvm master -> 6501a8609507dbf4f0d0ef976911e2f225ef6f52

waltervn waltervn at users.sourceforge.net
Sun Mar 27 00:06:28 CET 2011

This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

6501a86095 SCI: Fix default pan value in MIDI driver.

Commit: 6501a8609507dbf4f0d0ef976911e2f225ef6f52
Author: Walter van Niftrik (walter at scummvm.org)
Date: 2011-03-26T16:04:28-07:00

Commit Message:
SCI: Fix default pan value in MIDI driver.

Changed paths:

diff --git a/engines/sci/sound/drivers/midi.cpp b/engines/sci/sound/drivers/midi.cpp
index 381f2aa..78dd69c 100644
--- a/engines/sci/sound/drivers/midi.cpp
+++ b/engines/sci/sound/drivers/midi.cpp
@@ -104,7 +104,7 @@ private:
 		uint8 volume;
 		Channel() : mappedPatch(MIDI_UNMAPPED), patch(MIDI_UNMAPPED), velocityMapIdx(0), playing(false),
-			keyShift(0), volAdjust(0), pan(0x80), hold(0), volume(0x7f) { }
+			keyShift(0), volAdjust(0), pan(0x40), hold(0), volume(0x7f) { }
 	bool _isMt32;

More information about the Scummvm-git-logs mailing list