summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/base/ttsbase.cpp
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2012-04-02 20:07:59 +0200
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2012-04-02 20:09:32 +0200
commiteb6c6581bd73e63e6c936c86ef9f4e380e5a5110 (patch)
tree743afc3f39c4ff595bfd574b3277c768032d7de2 /rbutil/rbutilqt/base/ttsbase.cpp
parente46382a6c7ec51bafb6d377c9bdbccc119bd5475 (diff)
downloadrockbox-eb6c6581bd73e63e6c936c86ef9f4e380e5a5110.tar.gz
rockbox-eb6c6581bd73e63e6c936c86ef9f4e380e5a5110.tar.bz2
rockbox-eb6c6581bd73e63e6c936c86ef9f4e380e5a5110.zip
Remove espeak from TTS list on Windows.
On Windows espeak installs itself as command line program as well as as SAPI voice. Using the SAPI voice is simpler, so there is no need to keep the command line option for it. Change-Id: I44fbd806572d5c14b976aa5d58a91935f04c6338
Diffstat (limited to 'rbutil/rbutilqt/base/ttsbase.cpp')
-rw-r--r--rbutil/rbutilqt/base/ttsbase.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/rbutil/rbutilqt/base/ttsbase.cpp b/rbutil/rbutilqt/base/ttsbase.cpp
index e6c3cf83cc..9cc12fb586 100644
--- a/rbutil/rbutilqt/base/ttsbase.cpp
+++ b/rbutil/rbutilqt/base/ttsbase.cpp
@@ -36,7 +36,9 @@ TTSBase::TTSBase(QObject* parent): EncTtsSettingInterface(parent)
// static functions
void TTSBase::initTTSList()
{
+#if !defined(Q_OS_WIN)
ttsList["espeak"] = tr("Espeak TTS Engine");
+#endif
ttsList["flite"] = tr("Flite TTS Engine");
ttsList["swift"] = tr("Swift TTS Engine");
#if defined(Q_OS_WIN)