diff options
author | Sven Hesse | 2007-12-13 23:28:07 +0000 |
---|---|---|
committer | Sven Hesse | 2007-12-13 23:28:07 +0000 |
commit | 4c54a8caee2588a35205819f1b7752cc2c44ed2b (patch) | |
tree | 4f455149fd1eadf10543be863cf237ecf9bbfb71 | |
parent | 79e22d29f4500bf8d2310702cc5aa493944581e0 (diff) | |
download | scummvm-rg350-4c54a8caee2588a35205819f1b7752cc2c44ed2b.tar.gz scummvm-rg350-4c54a8caee2588a35205819f1b7752cc2c44ed2b.tar.bz2 scummvm-rg350-4c54a8caee2588a35205819f1b7752cc2c44ed2b.zip |
Fixing bug #1850343 (GOB1: Long beeping noise after cutscene)
svn-id: r29857
-rw-r--r-- | engines/gob/sound.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/gob/sound.cpp b/engines/gob/sound.cpp index 3e4898709c..79dfd57db6 100644 --- a/engines/gob/sound.cpp +++ b/engines/gob/sound.cpp @@ -149,7 +149,8 @@ void Snd::speakerOff() { } void Snd::speakerOnUpdate(uint32 milis) { - _speakerStream->stop(milis); + if (_speakerStream->isPlaying()) + _speakerStream->stop(milis); } void Snd::stopSound(int16 fadeLength, SoundDesc *sndDesc) { |