diff options
author | Matthew Hoops | 2011-04-07 20:34:54 -0400 |
---|---|---|
committer | Matthew Hoops | 2011-04-07 20:34:54 -0400 |
commit | 25236ebde1f1a24c6661c1de74fd28cdd46fdafc (patch) | |
tree | 4e52c513c40cab804e349ec7a9f4a3626b329204 /engines/groovie | |
parent | 9c2fc6721d1719193b465a5bdc8a8308e15832d6 (diff) | |
download | scummvm-rg350-25236ebde1f1a24c6661c1de74fd28cdd46fdafc.tar.gz scummvm-rg350-25236ebde1f1a24c6661c1de74fd28cdd46fdafc.tar.bz2 scummvm-rg350-25236ebde1f1a24c6661c1de74fd28cdd46fdafc.zip |
GROOVIE: Implement MusicPlayerMPEG4::updateVolume()
Diffstat (limited to 'engines/groovie')
-rw-r--r-- | engines/groovie/music.cpp | 3 |
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) { |