diff options
author | Eugene Sandulenko | 2014-05-03 11:18:47 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2014-05-03 11:18:47 +0300 |
commit | 2975ef3ebeffe1beb6857c0cc0336d2dd515440d (patch) | |
tree | a913a8d55c51da459f509e65ef0cf9c1bae11ab6 /engines | |
parent | 28cb3e82d14a872d8b55bb192211c03af2dac7ed (diff) | |
download | scummvm-rg350-2975ef3ebeffe1beb6857c0cc0336d2dd515440d.tar.gz scummvm-rg350-2975ef3ebeffe1beb6857c0cc0336d2dd515440d.tar.bz2 scummvm-rg350-2975ef3ebeffe1beb6857c0cc0336d2dd515440d.zip |
FULLPIPE: Implement FullpipeEngine::stopAllSounds()
Diffstat (limited to 'engines')
-rw-r--r-- | engines/fullpipe/sound.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/engines/fullpipe/sound.cpp b/engines/fullpipe/sound.cpp index 3c13bad854..06e664faf9 100644 --- a/engines/fullpipe/sound.cpp +++ b/engines/fullpipe/sound.cpp @@ -298,8 +298,12 @@ void FullpipeEngine::startSoundStream1(char *trackName) { } void FullpipeEngine::stopAllSounds() { - // TODO: Differences from stopAllSoundStreams() - _mixer->stopAll(); + // _mixer->stopAll(); + + for (int i = 0; i < _currSoundListCount; i++) + for (int j = 0; i < _currSoundList1[i]->getCount(); j++) { + _currSoundList1[i]->getSoundByIndex(j)->stop(); + } } void FullpipeEngine::toggleMute() { |