From 551ea5eaa445bed75c4db157c9394f990306a271 Mon Sep 17 00:00:00 2001 From: Dominik Riebeling Date: Sat, 9 Jun 2012 23:36:24 +0200 Subject: [PATCH] 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 --- rbutil/rbutilqt/base/ttsexes.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { 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\"";