espeak: indicate end of options.
When calling espeak via command line explicitly indicate the end of options. Fixes the voice string "-inf" getting recognized as unrecognized command line option, breaking speaking. Change-Id: I4d1be2e6c8ae23a72028919593c5a94990333a9c
This commit is contained in:
parent
4e41c6d9ba
commit
551ea5eaa4
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ TTSExes::TTSExes(QString name,QObject* parent) : TTSBase(parent)
|
|||
{
|
||||
m_name = name;
|
||||
|
||||
m_TemplateMap["espeak"] = "\"%exe\" %options -w \"%wavfile\" \"%text\"";
|
||||
m_TemplateMap["espeak"] = "\"%exe\" %options -w \"%wavfile\" -- \"%text\"";
|
||||
m_TemplateMap["flite"] = "\"%exe\" %options -o \"%wavfile\" -t \"%text\"";
|
||||
m_TemplateMap["swift"] = "\"%exe\" %options -o \"%wavfile\" \"%text\"";
|
||||
|
||||
|
|
Loading…
Reference in a new issue