[deploy] fix: sound player volume
This commit is contained in:
parent
6f187cfc94
commit
8ffd29eb38
|
|
@ -130,6 +130,10 @@ float SoundPlayer::GetVolume() const
|
|||
void SoundPlayer::SetVolume(float volume)
|
||||
{
|
||||
volume_ = volume;
|
||||
for (auto& sound : sound_list_)
|
||||
{
|
||||
sound->ResetVolume();
|
||||
}
|
||||
}
|
||||
|
||||
void SoundPlayer::PauseAll()
|
||||
|
|
|
|||
Loading…
Reference in New Issue