summaryrefslogtreecommitdiff
path: root/rbutil/rbutilqt/base/voicefile.h
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2011-10-01 19:48:58 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2011-10-01 19:48:58 +0000
commit4f56b50df45cf81370c3a29bd443b91cf5fca1b0 (patch)
tree92b105d056a47401949c9db6b5529570a63cb3f9 /rbutil/rbutilqt/base/voicefile.h
parent7f2defc453045e037cccf50456753d310c7d7e88 (diff)
downloadrockbox-4f56b50df45cf81370c3a29bd443b91cf5fca1b0.tar.gz
rockbox-4f56b50df45cf81370c3a29bd443b91cf5fca1b0.zip
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
Diffstat (limited to 'rbutil/rbutilqt/base/voicefile.h')
-rw-r--r--rbutil/rbutilqt/base/voicefile.h5
1 files changed, 3 insertions, 2 deletions
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:
40 bool createVoiceFile(); 40 bool createVoiceFile();
41 41
42 void setMountPoint(QString mountpoint) {m_mountpoint =mountpoint; } 42 void setMountPoint(QString mountpoint) {m_mountpoint =mountpoint; }
43 void setLang(QString name){m_lang =name;} 43 void setLang(QString name) { m_lang = name; }
44 void setWavtrimThreshold(int th){m_wavtrimThreshold = th;} 44 void setWavtrimThreshold(int th){m_wavtrimThreshold = th;}
45 45
46public slots: 46public slots:
@@ -56,8 +56,9 @@ private slots:
56 void downloadDone(bool error); 56 void downloadDone(bool error);
57 57
58private: 58private:
59
59 void cleanup(); 60 void cleanup();
60 61
61 HttpGet *getter; 62 HttpGet *getter;
62 QString filename; //the temporary file 63 QString filename; //the temporary file
63 QString m_mountpoint; //mountpoint of the device 64 QString m_mountpoint; //mountpoint of the device