From 7380142071945e08c3fd2e81e5b0b9e16c284572 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Tue, 27 Feb 2007 11:47:28 +0000 Subject: [PATCH] Change the volume of music channel of mixer, when adjusting music volume too. svn-id: r25894 --- engines/agos/input.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/engines/agos/input.cpp b/engines/agos/input.cpp index a17dacfda72..93e914d8a48 100644 --- a/engines/agos/input.cpp +++ b/engines/agos/input.cpp @@ -549,9 +549,11 @@ bool AGOSEngine::processSpecialKeys() { } case '+': midi.setVolume(midi.getVolume() + 16); + _mixer->setVolumeForSoundType(Audio::Mixer::kMusicSoundType, _mixer->getVolumeForSoundType(Audio::Mixer::kMusicSoundType) + 16); break; case '-': midi.setVolume(midi.getVolume() - 16); + _mixer->setVolumeForSoundType(Audio::Mixer::kMusicSoundType, _mixer->getVolumeForSoundType(Audio::Mixer::kMusicSoundType) - 16); break; case 'm': midi.pause(_musicPaused ^= 1);