aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/sound.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/kyra/sound.cpp')
-rw-r--r--engines/kyra/sound.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/engines/kyra/sound.cpp b/engines/kyra/sound.cpp
index 2a5182d6d8..8547c34c7c 100644
--- a/engines/kyra/sound.cpp
+++ b/engines/kyra/sound.cpp
@@ -538,6 +538,16 @@ void KyraEngine::snd_voiceWaitForFinish(bool ingame) {
}
}
+void KyraEngine::snd_stopVoice() {
+ debugC(9, kDebugLevelMain | kDebugLevelSound, "KyraEngine::snd_stopVoice()");
+ _sound->voiceStop();
+}
+
+bool KyraEngine::snd_voiceIsPlaying() {
+ debugC(9, kDebugLevelMain | kDebugLevelSound, "KyraEngine::snd_voiceIsPlaying()");
+ return _sound->voiceIsPlaying();
+}
+
// static res
const Sound::SpeechCodecs Sound::_supportedCodes[] = {