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
a8d2e1b7
Commit
a8d2e1b7
authored
Jun 21, 2014
by
Lorenz Meier
Browse files
Merge branch 'master' of github.com:mavlink/qgroundcontrol
parents
9fdf57e3
b54bb4c6
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/GAudioOutput.cc
View file @
a8d2e1b7
...
...
@@ -212,7 +212,8 @@ bool GAudioOutput::say(QString text, int severity)
#endif // _MSC_VER
#if defined Q_OS_LINUX
unsigned
int
espeak_size
=
strlen
(
text
.
toStdString
().
c_str
());
// Set size of string for espeak: +1 for the null-character
unsigned
int
espeak_size
=
strlen
(
text
.
toStdString
().
c_str
())
+
1
;
espeak_Synth
(
text
.
toStdString
().
c_str
(),
espeak_size
,
0
,
POS_CHARACTER
,
0
,
espeakCHARS_AUTO
,
NULL
,
NULL
);
#endif // Q_OS_LINUX
...
...
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