diff options
author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2012-06-09 23:36:24 +0200 |
---|---|---|
committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2012-06-09 23:36:24 +0200 |
commit | 551ea5eaa445bed75c4db157c9394f990306a271 (patch) | |
tree | fa41761c30355c3ca4b4c53b63a3cbdf73f0329f /rbutil | |
parent | 4e41c6d9babc293a7b639c53f0687b650999cb60 (diff) | |
download | rockbox-551ea5eaa445bed75c4db157c9394f990306a271.tar.gz rockbox-551ea5eaa445bed75c4db157c9394f990306a271.zip |
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
Diffstat (limited to 'rbutil')
-rw-r--r-- | rbutil/rbutilqt/base/ttsexes.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rbutil/rbutilqt/base/ttsexes.cpp b/rbutil/rbutilqt/base/ttsexes.cpp index 9e24044e5b..6fdb3c680c 100644 --- a/rbutil/rbutilqt/base/ttsexes.cpp +++ b/rbutil/rbutilqt/base/ttsexes.cpp | |||
@@ -24,7 +24,7 @@ TTSExes::TTSExes(QString name,QObject* parent) : TTSBase(parent) | |||
24 | { | 24 | { |
25 | m_name = name; | 25 | m_name = name; |
26 | 26 | ||
27 | m_TemplateMap["espeak"] = "\"%exe\" %options -w \"%wavfile\" \"%text\""; | 27 | m_TemplateMap["espeak"] = "\"%exe\" %options -w \"%wavfile\" -- \"%text\""; |
28 | m_TemplateMap["flite"] = "\"%exe\" %options -o \"%wavfile\" -t \"%text\""; | 28 | m_TemplateMap["flite"] = "\"%exe\" %options -o \"%wavfile\" -t \"%text\""; |
29 | m_TemplateMap["swift"] = "\"%exe\" %options -o \"%wavfile\" \"%text\""; | 29 | m_TemplateMap["swift"] = "\"%exe\" %options -o \"%wavfile\" \"%text\""; |
30 | 30 | ||