diff options
Diffstat (limited to 'gui')
-rw-r--r-- | gui/dialog.cpp | 4 | ||||
-rw-r--r-- | gui/gui.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/gui/dialog.cpp b/gui/dialog.cpp index 59355cc031..13651a1a80 100644 --- a/gui/dialog.cpp +++ b/gui/dialog.cpp @@ -489,8 +489,8 @@ void SoundDialog::handleCommand(CommandSender *sender, uint32 cmd, uint32 data) scumm->_imuse->set_music_volume(_soundVolumeMusic); scumm->_imuse->set_master_volume(_soundVolumeMaster); - scumm->_mixer->set_volume(_soundVolumeSfx); - scumm->_mixer->set_music_volume(_soundVolumeMusic); + scumm->_mixer->setVolume(_soundVolumeSfx); + scumm->_mixer->setMusicVolume(_soundVolumeMusic); scummcfg->set("master_volume", _soundVolumeMaster); scummcfg->set("music_volume", _soundVolumeMusic); diff --git a/gui/gui.cpp b/gui/gui.cpp index 270641ae17..8b2515e4b5 100644 --- a/gui/gui.cpp +++ b/gui/gui.cpp @@ -621,8 +621,8 @@ void Gui::handleSoundDialogCommand(int cmd) _s->_imuse->set_music_volume(_s->_sound->_sound_volume_music); _s->_imuse->set_master_volume(_s->_sound->_sound_volume_master); - _s->_mixer->set_volume(_s->_sound->_sound_volume_sfx); - _s->_mixer->set_music_volume(_s->_sound->_sound_volume_music); + _s->_mixer->setVolume(_s->_sound->_sound_volume_sfx); + _s->_mixer->setMusicVolume(_s->_sound->_sound_volume_music); scummcfg->set("master_volume", _s->_sound->_sound_volume_master); scummcfg->set("music_volume", _s->_sound->_sound_volume_music); |