aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorSven Hesse2007-02-07 16:30:59 +0000
committerSven Hesse2007-02-07 16:30:59 +0000
commit2c4a6d6a438ef2700c8f2f70db8999a143aa6583 (patch)
tree5350a0f3a5466c11903f0c358d4c5873c571debe /engines
parentaee4f7058d9a2de7561eed3075a25abf99d2a7fd (diff)
downloadscummvm-rg350-2c4a6d6a438ef2700c8f2f70db8999a143aa6583.tar.gz
scummvm-rg350-2c4a6d6a438ef2700c8f2f70db8999a143aa6583.tar.bz2
scummvm-rg350-2c4a6d6a438ef2700c8f2f70db8999a143aa6583.zip
The SoundHandle isn't stopped indirectly by AudioCD.play() anymore, so removed the SoundHandle starting for each sample
svn-id: r25411
Diffstat (limited to 'engines')
-rw-r--r--engines/gob/sound.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/engines/gob/sound.cpp b/engines/gob/sound.cpp
index 5475c7407b..41f6f95721 100644
--- a/engines/gob/sound.cpp
+++ b/engines/gob/sound.cpp
@@ -240,9 +240,6 @@ void Snd::playSample(Snd::SoundDesc *sndDesc, int16 repCount, int16 frequency, i
return;
setSample(sndDesc, repCount, frequency, fadeLength);
- if (!_vm->_mixer->isSoundHandleActive(_handle))
- _vm->_mixer->playInputStream(Audio::Mixer::kSFXSoundType, &_handle,
- this, -1, 255, 0, false, true);
}
void Snd::checkEndSample(void) {