diff options
author | Max Horn | 2005-03-12 18:56:09 +0000 |
---|---|---|
committer | Max Horn | 2005-03-12 18:56:09 +0000 |
commit | 7cd2cb2b1700b85d48aed8898b08b49b9b46ebf8 (patch) | |
tree | 7849605aa45912d9cbe65dbb68b2b450bd32b023 /queen/sound.cpp | |
parent | 8de216f3aec1dcee16fc0ab9974da4087bac5252 (diff) | |
download | scummvm-rg350-7cd2cb2b1700b85d48aed8898b08b49b9b46ebf8.tar.gz scummvm-rg350-7cd2cb2b1700b85d48aed8898b08b49b9b46ebf8.tar.bz2 scummvm-rg350-7cd2cb2b1700b85d48aed8898b08b49b9b46ebf8.zip |
PlayingSoundHandle -> SoundHandle; also, turned the handle activity check into a mixer method
svn-id: r17106
Diffstat (limited to 'queen/sound.cpp')
-rw-r--r-- | queen/sound.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/queen/sound.cpp b/queen/sound.cpp index a93650ea7f..f982ce9d6c 100644 --- a/queen/sound.cpp +++ b/queen/sound.cpp @@ -83,10 +83,10 @@ Sound *Sound::giveSound(SoundMixer *mixer, QueenEngine *vm, uint8 compression) { void Sound::waitFinished(bool isSpeech) { if (isSpeech) - while (_speechHandle.isActive()) + while (_mixer->isSoundHandleActive(_speechHandle)) _vm->input()->delay(10); else - while (_sfxHandle.isActive()) + while (_mixer->isSoundHandleActive(_sfxHandle)) _vm->input()->delay(10); } |