From 4bae32ffe7952ca967b16c8043c1957e9a3379b2 Mon Sep 17 00:00:00 2001 From: Jaromir Wysoglad Date: Fri, 2 Aug 2019 01:50:59 +0200 Subject: TTS: Add *_NO_REPEAT actions --- common/text-to-speech.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'common') 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 -- cgit v1.2.3