GROOVIE: Implement MusicPlayerMPEG4::updateVolume()
This commit is contained in:
parent
9c2fc6721d
commit
25236ebde1
1 changed files with 2 additions and 1 deletions
|
@ -753,7 +753,8 @@ MusicPlayerMPEG4::MusicPlayerMPEG4(GroovieEngine *vm) : MusicPlayer(vm) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void MusicPlayerMPEG4::updateVolume() {
|
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) {
|
bool MusicPlayerMPEG4::load(uint32 fileref, bool loop) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue