mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-25 05:34:27 +00:00
GROOVIE: Implement MusicPlayerMPEG4::updateVolume()
This commit is contained in:
parent
9c2fc6721d
commit
25236ebde1
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user