Commit eb3f48b9 authored by Thomas Gubler's avatar Thomas Gubler

fix merge errors and unused-variable error

parent 705ab124
...@@ -110,8 +110,10 @@ GAudioOutput::GAudioOutput(QObject *parent) : QObject(parent), ...@@ -110,8 +110,10 @@ GAudioOutput::GAudioOutput(QObject *parent) : QObject(parent),
espeak_voice.variant = 0; espeak_voice.variant = 0;
espeak_voice.gender = 2; espeak_voice.gender = 2;
espeak_SetVoiceByProperties(&espeak_voice); espeak_SetVoiceByProperties(&espeak_voice);
espeak_PARAMETER rateParam = espeakRATE; // Rate of eSpeak can be changed if needed:
// espeak_PARAMETER rateParam = espeakRATE;
// espeak_SetParameter(rateParam , 150, 0); // espeak_SetParameter(rateParam , 150, 0);
#endif
#if defined _MSC_VER && defined QGC_SPEECH_ENABLED #if defined _MSC_VER && defined QGC_SPEECH_ENABLED
pVoice = NULL; pVoice = NULL;
......
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