aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorEugene Sandulenko2014-04-26 13:18:55 +0300
committerEugene Sandulenko2014-04-26 13:18:55 +0300
commitaad1d556d657bdb39c1cd0b896f90cd09d5dd5aa (patch)
tree9cf234badbe7259b100199dbb127e1ce8295a446 /engines
parentcb565e9eafc34b26d160dd4c5c4cf64e05872498 (diff)
downloadscummvm-rg350-aad1d556d657bdb39c1cd0b896f90cd09d5dd5aa.tar.gz
scummvm-rg350-aad1d556d657bdb39c1cd0b896f90cd09d5dd5aa.tar.bz2
scummvm-rg350-aad1d556d657bdb39c1cd0b896f90cd09d5dd5aa.zip
FULLPIPE: Implement FullpipeEngine::updateSoundVolume()
Diffstat (limited to 'engines')
-rw-r--r--engines/fullpipe/sound.cpp5
1 files changed, 4 insertions, 1 deletions
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) {