mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-23 02:11:38 +00:00
Change the volume of music channel of mixer, when adjusting music volume too.
svn-id: r25894
This commit is contained in:
parent
235aa3376b
commit
7380142071
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user