From 4f56b50df45cf81370c3a29bd443b91cf5fca1b0 Mon Sep 17 00:00:00 2001 From: Dominik Riebeling Date: Sat, 1 Oct 2011 19:48:58 +0000 Subject: Voicefile generation: implement string corrections. Voicefile generation now can correct strings for the TTS system similar to what voice.pl does. The current implementation has some limitations: - only implemented for voicefile creation. - the corrections file is built in and can't get changed. - string corrections can be disabled in the configuration dialog. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30628 a1c6a512-1295-4272-9138-f99709370657 --- rbutil/rbutilqt/base/voicefile.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'rbutil/rbutilqt/base/voicefile.h') diff --git a/rbutil/rbutilqt/base/voicefile.h b/rbutil/rbutilqt/base/voicefile.h index 72f905e4f2..94aea6c643 100644 --- a/rbutil/rbutilqt/base/voicefile.h +++ b/rbutil/rbutilqt/base/voicefile.h @@ -40,7 +40,7 @@ public: bool createVoiceFile(); void setMountPoint(QString mountpoint) {m_mountpoint =mountpoint; } - void setLang(QString name){m_lang =name;} + void setLang(QString name) { m_lang = name; } void setWavtrimThreshold(int th){m_wavtrimThreshold = th;} public slots: @@ -56,8 +56,9 @@ private slots: void downloadDone(bool error); private: + void cleanup(); - + HttpGet *getter; QString filename; //the temporary file QString m_mountpoint; //mountpoint of the device -- cgit v1.2.3