aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorJaromir Wysoglad2019-07-11 23:38:06 +0200
committerFilippos Karapetis2019-09-01 22:47:55 +0300
commit7f895d21df5ddb7c82a2f685d3a9fcc09b3d3a7a (patch)
tree12f486bf1b1366b73967472ce8ec4312acd75a68 /common
parent8c44b032314475376e039853392292c578464091 (diff)
downloadscummvm-rg350-7f895d21df5ddb7c82a2f685d3a9fcc09b3d3a7a.tar.gz
scummvm-rg350-7f895d21df5ddb7c82a2f685d3a9fcc09b3d3a7a.tar.bz2
scummvm-rg350-7f895d21df5ddb7c82a2f685d3a9fcc09b3d3a7a.zip
TTS: Add checks for correct TTS engine state.
Diffstat (limited to 'common')
-rw-r--r--common/text-to-speech.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/text-to-speech.h b/common/text-to-speech.h
index 8d4b0a0f87..4bb81118bf 100644
--- a/common/text-to-speech.h
+++ b/common/text-to-speech.h
@@ -84,6 +84,8 @@ public:
virtual bool resume() { return false; }
virtual bool isSpeaking() { return false; }
+ virtual bool isPaused() { return false; }
+ virtual bool isReady() { return false; }
virtual void setVoice(TTSVoice *voice) {}
TTSVoice getVoice() { return *(_ttsState->_activeVoice); }