aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/groovie/music.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/groovie/music.cpp b/engines/groovie/music.cpp
index 0d0d8770b3..e02125c192 100644
--- a/engines/groovie/music.cpp
+++ b/engines/groovie/music.cpp
@@ -753,7 +753,8 @@ MusicPlayerMPEG4::MusicPlayerMPEG4(GroovieEngine *vm) : MusicPlayer(vm) {
}
void MusicPlayerMPEG4::updateVolume() {
- // TODO: Check if anything has to be done here
+ // Just set the mixer volume for the music sound type
+ _vm->_system->getMixer()->setVolumeForSoundType(Audio::Mixer::kMusicSoundType, _userVolume * _gameVolume / 100);
}
bool MusicPlayerMPEG4::load(uint32 fileref, bool loop) {