diff options
author | Jaromir Wysoglad | 2019-08-15 16:12:30 +0200 |
---|---|---|
committer | Filippos Karapetis | 2019-09-01 22:47:55 +0300 |
commit | 0d332e065ec4a56a5964d8933f1d6118a85f6965 (patch) | |
tree | 274b58329f2576bbcc7bc8c0cf22ecd7de392fe2 /backends/platform/sdl/posix | |
parent | b97333d4b715013f37700c200fb1619da9225de8 (diff) | |
download | scummvm-rg350-0d332e065ec4a56a5964d8933f1d6118a85f6965.tar.gz scummvm-rg350-0d332e065ec4a56a5964d8933f1d6118a85f6965.tar.bz2 scummvm-rg350-0d332e065ec4a56a5964d8933f1d6118a85f6965.zip |
TTS: Rename LinuxTextToSpeechManager to SpeechDispatcherManager
Add a new define for the SpeechDispatcherManager
Diffstat (limited to 'backends/platform/sdl/posix')
-rw-r--r-- | backends/platform/sdl/posix/posix.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/backends/platform/sdl/posix/posix.cpp b/backends/platform/sdl/posix/posix.cpp index 0b6c4d65ef..b9838498a4 100644 --- a/backends/platform/sdl/posix/posix.cpp +++ b/backends/platform/sdl/posix/posix.cpp @@ -55,7 +55,7 @@ #include <spawn.h> #endif -#ifdef USE_TTS +#if defined(USE_SPEECH_DISPATCHER) && defined(USE_TTS) #include "backends/text-to-speech/linux/linux-text-to-speech.h" #endif extern char **environ; @@ -83,9 +83,9 @@ void OSystem_POSIX::initBackend() { if (_savefileManager == 0) _savefileManager = new POSIXSaveFileManager(); -#ifdef USE_TTS +#if defined(USE_SPEECH_DISPATCHER) && defined(USE_TTS) // Initialize Text to Speech manager - _textToSpeechManager = new LinuxTextToSpeechManager(); + _textToSpeechManager = new SpeechDispatcherManager(); #endif // Invoke parent implementation of this method |