diff options
author | Jaromir Wysoglad | 2019-07-11 23:38:06 +0200 |
---|---|---|
committer | Filippos Karapetis | 2019-09-01 22:47:55 +0300 |
commit | 7f895d21df5ddb7c82a2f685d3a9fcc09b3d3a7a (patch) | |
tree | 12f486bf1b1366b73967472ce8ec4312acd75a68 /backends/text-to-speech/linux/linux-text-to-speech.h | |
parent | 8c44b032314475376e039853392292c578464091 (diff) | |
download | scummvm-rg350-7f895d21df5ddb7c82a2f685d3a9fcc09b3d3a7a.tar.gz scummvm-rg350-7f895d21df5ddb7c82a2f685d3a9fcc09b3d3a7a.tar.bz2 scummvm-rg350-7f895d21df5ddb7c82a2f685d3a9fcc09b3d3a7a.zip |
TTS: Add checks for correct TTS engine state.
Diffstat (limited to 'backends/text-to-speech/linux/linux-text-to-speech.h')
-rw-r--r-- | backends/text-to-speech/linux/linux-text-to-speech.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/backends/text-to-speech/linux/linux-text-to-speech.h b/backends/text-to-speech/linux/linux-text-to-speech.h index b0f71d33b6..bb32979dd7 100644 --- a/backends/text-to-speech/linux/linux-text-to-speech.h +++ b/backends/text-to-speech/linux/linux-text-to-speech.h @@ -35,7 +35,8 @@ public: enum SpeechState { READY, PAUSED, - SPEAKING + SPEAKING, + BROKEN }; LinuxTextToSpeechManager(); @@ -48,6 +49,8 @@ public: virtual bool resume(); virtual bool isSpeaking(); + virtual bool isPaused(); + virtual bool isReady(); virtual void setVoice(Common::TTSVoice *voice); |