From aad1d556d657bdb39c1cd0b896f90cd09d5dd5aa Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Sat, 26 Apr 2014 13:18:55 +0300 Subject: FULLPIPE: Implement FullpipeEngine::updateSoundVolume() --- engines/fullpipe/sound.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'engines') diff --git a/engines/fullpipe/sound.cpp b/engines/fullpipe/sound.cpp index 03e350bf85..774c687d54 100644 --- a/engines/fullpipe/sound.cpp +++ b/engines/fullpipe/sound.cpp @@ -208,7 +208,10 @@ void FullpipeEngine::stopAllSoundInstances(int id) { } void FullpipeEngine::updateSoundVolume() { - debug(3, "STUB FullpipeEngine::updateSoundVolume()"); + for (int i = 0; i < _currSoundListCount; i++) + for (int j = 0; i < _currSoundList1[i]->getCount(); j++) { + g_fp->_currSoundList1[i]->getSoundByIndex(j)->setPanAndVolume(g_fp->_sfxVolume, 0); + } } void FullpipeEngine::setMusicVolume(int vol) { -- cgit v1.2.3