aboutsummaryrefslogtreecommitdiff
path: root/backends/text-to-speech
diff options
context:
space:
mode:
authorJaromir Wysoglad2019-07-12 02:08:22 +0200
committerFilippos Karapetis2019-09-01 22:47:55 +0300
commitfa6faca76a35028e288753c3d74f2c81228ec5bb (patch)
treeae4bbd7a53133e15406278457a0d21d8ef5552e0 /backends/text-to-speech
parent62a011e28a4a7e253ad07319cef760566cba59cb (diff)
downloadscummvm-rg350-fa6faca76a35028e288753c3d74f2c81228ec5bb.tar.gz
scummvm-rg350-fa6faca76a35028e288753c3d74f2c81228ec5bb.tar.bz2
scummvm-rg350-fa6faca76a35028e288753c3d74f2c81228ec5bb.zip
TTS: Add TTS checkbox to Options
Probably works only in the builtin theme right now.
Diffstat (limited to 'backends/text-to-speech')
-rw-r--r--backends/text-to-speech/linux/linux-text-to-speech.cpp1
1 files changed, 0 insertions, 1 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 02ca5a8ef8..7ddd4ac2b4 100644
--- a/backends/text-to-speech/linux/linux-text-to-speech.cpp
+++ b/backends/text-to-speech/linux/linux-text-to-speech.cpp
@@ -138,7 +138,6 @@ bool LinuxTextToSpeechManager::isReady() {
void LinuxTextToSpeechManager::setVoice(unsigned index) {
if (_speechState == BROKEN)
return;
- debug("%d < %d", index, _ttsState->_availaibleVoices.size());
assert(index < _ttsState->_availaibleVoices.size());
Common::TTSVoice voice = _ttsState->_availaibleVoices[index];
spd_set_voice_type(_connection, *(SPDVoiceType *)(voice.getData()));