Change the volume of music channel of mixer, when adjusting music volume too.

svn-id: r25894
This commit is contained in:
Travis Howell 2007-02-27 11:47:28 +00:00
parent 235aa3376b
commit 7380142071

View File

@ -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);