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
e2a75529
Commit
e2a75529
authored
Dec 09, 2014
by
Lorenz Meier
Browse files
Merge branch 'audio_thread' of github.com:mavlink/qgroundcontrol into audio_thread
parents
0e67aae1
b7c81941
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/audio/QGCAudioWorker.cpp
View file @
e2a75529
...
...
@@ -45,7 +45,7 @@ void QGCAudioWorker::init()
sound
=
new
QSound
(
""
);
#if defined Q_OS_LINUX && defined QGC_SPEECH_ENABLED
espeak_Initialize
(
AUDIO_OUTPUT_SYNCH
RONOUS
,
500
,
NULL
,
0
);
// initialize for playback with 500ms buffer and no options (see speak_lib.h)
espeak_Initialize
(
AUDIO_OUTPUT_SYNCH
_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
...
...
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