diff options
author | Jaromir Wysoglad | 2019-08-02 01:50:59 +0200 |
---|---|---|
committer | Filippos Karapetis | 2019-09-01 22:47:55 +0300 |
commit | 4bae32ffe7952ca967b16c8043c1957e9a3379b2 (patch) | |
tree | e6cc3600965a66dcde468fd7522cf1e47e36ee50 /common | |
parent | 98cea3e2cef3bf4c723967af60dfb961ab4bafaf (diff) | |
download | scummvm-rg350-4bae32ffe7952ca967b16c8043c1957e9a3379b2.tar.gz scummvm-rg350-4bae32ffe7952ca967b16c8043c1957e9a3379b2.tar.bz2 scummvm-rg350-4bae32ffe7952ca967b16c8043c1957e9a3379b2.zip |
TTS: Add *_NO_REPEAT actions
Diffstat (limited to 'common')
-rw-r--r-- | common/text-to-speech.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/common/text-to-speech.h b/common/text-to-speech.h index df0bee850f..2ec9e1e69a 100644 --- a/common/text-to-speech.h +++ b/common/text-to-speech.h @@ -138,7 +138,9 @@ class TextToSpeechManager { public: enum Action { INTERRUPT, + INTERRUPT_NO_REPEAT, QUEUE, + QUEUE_NO_REPEAT, DROP }; /** @@ -156,7 +158,7 @@ public: * @param charset The encoding of the string. If empty this is assumed to be the * encoding used for the GUI. */ - bool say(String str, String charset = "") { return say(str, INTERRUPT, charset); } + bool say(String str, String charset = "") { return say(str, INTERRUPT_NO_REPEAT, charset); } /** * Says the given string |