[Scummvm-cvs-logs] scummvm master -> 78c4675c927e5f227e4dd7d165f950e942b3aad0
dreammaster
dreammaster at scummvm.org
Mon Aug 1 11:48:14 CEST 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 .
Summary:
78c4675c92 TSAGE: SoundBLaster method #38 now actually updates the channel volume
Commit: 78c4675c927e5f227e4dd7d165f950e942b3aad0
https://github.com/scummvm/scummvm/commit/78c4675c927e5f227e4dd7d165f950e942b3aad0
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2011-08-01T02:45:49-07:00
Commit Message:
TSAGE: SoundBLaster method #38 now actually updates the channel volume
Changed paths:
engines/tsage/sound.cpp
diff --git a/engines/tsage/sound.cpp b/engines/tsage/sound.cpp
index e47a0ed..d054949 100644
--- a/engines/tsage/sound.cpp
+++ b/engines/tsage/sound.cpp
@@ -2871,6 +2871,7 @@ void SoundBlasterDriver::proc38(int channel, int cmd, int value) {
if (cmd == 7) {
// Set channel volume
_channelVolume = value;
+ _mixer->setChannelVolume(_soundHandle, (byte)MIN(255, value * 2));
}
}
More information about the Scummvm-git-logs
mailing list