Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
7313b202
Commit
7313b202
authored
Dec 09, 2014
by
Thomas Gubler
Browse files
Revert "Make eSpeak on Linux synchronous"
This reverts commit
4d033715
.
parent
4d033715
Changes
1
Show whitespace changes
Inline
Side-by-side
src/audio/QGCAudioWorker.cpp
View file @
7313b202
...
@@ -45,7 +45,7 @@ void QGCAudioWorker::init()
...
@@ -45,7 +45,7 @@ void QGCAudioWorker::init()
sound
=
new
QSound
(
""
);
sound
=
new
QSound
(
""
);
#if defined Q_OS_LINUX && defined QGC_SPEECH_ENABLED
#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
*
espeak_voice
=
espeak_GetCurrentVoice
();
espeak_voice
->
languages
=
"en-uk"
;
// Default to British English
espeak_voice
->
languages
=
"en-uk"
;
// Default to British English
espeak_voice
->
identifier
=
NULL
;
// no specific voice file specified
espeak_voice
->
identifier
=
NULL
;
// no specific voice file specified
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment