Commit 4372cf18 authored by Lorenz Meier's avatar Lorenz Meier

Make Windows playback synchronous so that audio does not overlap

parent d53d5f88
......@@ -103,7 +103,7 @@ void QGCAudioWorker::say(QString text, int severity)
}
#if defined _MSC_VER && defined QGC_SPEECH_ENABLED
pVoice->Speak(text.toStdWString().c_str(), SPF_ASYNC, NULL);
pVoice->Speak(text.toStdWString().c_str(), SPF_DEFAULT, NULL);
#elif defined Q_OS_LINUX && defined QGC_SPEECH_ENABLED
// Set size of string for espeak: +1 for the null-character
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment