From 7313b202a17b55ace06dadb2c0035e8850d859fb Mon Sep 17 00:00:00 2001 From: Thomas Gubler Date: Tue, 9 Dec 2014 17:40:51 +0100 Subject: [PATCH] Revert "Make eSpeak on Linux synchronous" This reverts commit 4d033715a8748a2bfdd0c0698d69cbf5eba4260a. --- src/audio/QGCAudioWorker.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/audio/QGCAudioWorker.cpp b/src/audio/QGCAudioWorker.cpp index 7ec5e63af..b7aad2657 100644 --- a/src/audio/QGCAudioWorker.cpp +++ b/src/audio/QGCAudioWorker.cpp @@ -45,7 +45,7 @@ void QGCAudioWorker::init() sound = new QSound(""); #if defined Q_OS_LINUX && defined QGC_SPEECH_ENABLED - espeak_Initialize(AUDIO_OUTPUT_SYNCHRONOUS, 500, NULL, 0); // initialize for playback with 500ms buffer and no options (see speak_lib.h) + espeak_Initialize(AUDIO_OUTPUT_PLAYBACK, 500, NULL, 0); // initialize for playback with 500ms buffer and no options (see speak_lib.h) espeak_VOICE *espeak_voice = espeak_GetCurrentVoice(); espeak_voice->languages = "en-uk"; // Default to British English espeak_voice->identifier = NULL; // no specific voice file specified -- 2.22.0