aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Kiewitz2010-01-01 17:53:37 +0000
committerMartin Kiewitz2010-01-01 17:53:37 +0000
commit64d484bd99f0fef9ed56f075fdab8856bfa5fb26 (patch)
tree5c391ca29d2555b1ae79a49149ccf223020a877e
parent78b26921933fc1654f73377216acf26c05f66572 (diff)
downloadscummvm-rg350-64d484bd99f0fef9ed56f075fdab8856bfa5fb26.tar.gz
scummvm-rg350-64d484bd99f0fef9ed56f075fdab8856bfa5fb26.tar.bz2
scummvm-rg350-64d484bd99f0fef9ed56f075fdab8856bfa5fb26.zip
SCI/newmusic: adding debug output to setVolume
svn-id: r46841
-rw-r--r--engines/sci/sfx/soundcmd.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/sci/sfx/soundcmd.cpp b/engines/sci/sfx/soundcmd.cpp
index c5d21a8a8f..1d02b422e9 100644
--- a/engines/sci/sfx/soundcmd.cpp
+++ b/engines/sci/sfx/soundcmd.cpp
@@ -891,6 +891,8 @@ void SoundCommandParser::cmdSetHandleVolume(reg_t obj, int16 value) {
return;
}
+ debugC(2, kDebugLevelSound, "cmdSetHandleVolume: %d", value);
+
value = CLIP<int>(value, 0, Audio::Mixer::kMaxChannelVolume);
if (musicSlot->volume != value) {