diff options
author | Jaromir Wysoglad | 2019-07-14 19:28:04 +0200 |
---|---|---|
committer | Filippos Karapetis | 2019-09-01 22:47:55 +0300 |
commit | 7d72fc0d60fef9babbb5a8579b152a42d7f5d3d2 (patch) | |
tree | cd3ffee9e15b7615d2169bbbd35291b68a92b69b /backends/text-to-speech | |
parent | 8bd7e392657989dd49da592d8b0bf6e14fe50166 (diff) | |
download | scummvm-rg350-7d72fc0d60fef9babbb5a8579b152a42d7f5d3d2.tar.gz scummvm-rg350-7d72fc0d60fef9babbb5a8579b152a42d7f5d3d2.tar.bz2 scummvm-rg350-7d72fc0d60fef9babbb5a8579b152a42d7f5d3d2.zip |
TTS: Restrict TTS on linux to only english
Unfortunatedly the encoding used by ScummVM breaks the
speech-dispatcher, so after trying to say non-ascii character
the connection has to be restarted. So for now I am restricting
the GUI TTS to english only.
Diffstat (limited to 'backends/text-to-speech')
-rw-r--r-- | backends/text-to-speech/linux/linux-text-to-speech.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/backends/text-to-speech/linux/linux-text-to-speech.cpp b/backends/text-to-speech/linux/linux-text-to-speech.cpp index 49aefdb8b4..770a56c1d6 100644 --- a/backends/text-to-speech/linux/linux-text-to-speech.cpp +++ b/backends/text-to-speech/linux/linux-text-to-speech.cpp @@ -101,6 +101,7 @@ bool LinuxTextToSpeechManager::say(Common::String str) { return true; if (isSpeaking()) stop(); + debug("say: %s", str.c_str()); return spd_say(_connection, SPD_MESSAGE, str.c_str()) == -1; } |