aboutsummaryrefslogtreecommitdiff
path: root/backends/text-to-speech
diff options
context:
space:
mode:
authorJaromir Wysoglad2019-07-14 19:34:29 +0200
committerFilippos Karapetis2019-09-01 22:47:55 +0300
commita9eaf46c421e7cb5731b99b138f982fdc9bb3833 (patch)
tree77084c4b614adf0d4b4982b04b8edc2b706ba8e6 /backends/text-to-speech
parent7d72fc0d60fef9babbb5a8579b152a42d7f5d3d2 (diff)
downloadscummvm-rg350-a9eaf46c421e7cb5731b99b138f982fdc9bb3833.tar.gz
scummvm-rg350-a9eaf46c421e7cb5731b99b138f982fdc9bb3833.tar.bz2
scummvm-rg350-a9eaf46c421e7cb5731b99b138f982fdc9bb3833.zip
TTS: Add warning if the TTS could not be inited
Diffstat (limited to 'backends/text-to-speech')
-rw-r--r--backends/text-to-speech/linux/linux-text-to-speech.cpp1
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 770a56c1d6..110bb8396e 100644
--- a/backends/text-to-speech/linux/linux-text-to-speech.cpp
+++ b/backends/text-to-speech/linux/linux-text-to-speech.cpp
@@ -68,6 +68,7 @@ LinuxTextToSpeechManager::LinuxTextToSpeechManager()
_connection = spd_open("ScummVM", "main", NULL, SPD_MODE_THREADED);
if (_connection == 0) {
_speechState = BROKEN;
+ warning("Couldn't initialize text to speech through speech-dispatcher");
return;
}