diff options
Diffstat (limited to 'backends/platform/sdl/posix')
-rw-r--r-- | backends/platform/sdl/posix/posix.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/backends/platform/sdl/posix/posix.cpp b/backends/platform/sdl/posix/posix.cpp index b204daa643..50a1ccdc58 100644 --- a/backends/platform/sdl/posix/posix.cpp +++ b/backends/platform/sdl/posix/posix.cpp @@ -54,6 +54,10 @@ #ifdef HAS_POSIX_SPAWN #include <spawn.h> #endif + +#ifdef USE_LINUX_TTS +#include "backends/text-to-speech/linux/linux-text-to-speech.h" +#endif extern char **environ; OSystem_POSIX::OSystem_POSIX(Common::String baseConfigName) @@ -79,6 +83,11 @@ void OSystem_POSIX::initBackend() { if (_savefileManager == 0) _savefileManager = new POSIXSaveFileManager(); +#ifdef USE_LINUX_TTS + // Initialize Text to Speech manager + _textToSpeechManager = new LinuxTextToSpeechManager(); +#endif + // Invoke parent implementation of this method OSystem_SDL::initBackend(); |