From 6b5780dae3561842c858f9c63d00430521628c9c Mon Sep 17 00:00:00 2001 From: Dominik Wenger Date: Sat, 19 Jan 2008 18:33:33 +0000 Subject: rbutilqt: made the sapi TTS more configurable, you can now select a specific voice in the config dialog. Also reworked some setSetting functions, to remove depencies. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16111 a1c6a512-1295-4272-9138-f99709370657 --- rbutil/rbutilqt/voicefile.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'rbutil/rbutilqt/voicefile.h') diff --git a/rbutil/rbutilqt/voicefile.h b/rbutil/rbutilqt/voicefile.h index b82f0373c7..ce7c953237 100644 --- a/rbutil/rbutilqt/voicefile.h +++ b/rbutil/rbutilqt/voicefile.h @@ -44,12 +44,12 @@ public: bool createVoiceFile(ProgressloggerInterface* logger); // set infos - void setUserSettings(QSettings* setting) { userSettings = setting;} - void setDeviceSettings(QSettings* setting) { deviceSettings = setting;} + void setSettings(QSettings* uSettings,QSettings* dSettings) { userSettings = uSettings;deviceSettings = dSettings;} void setMountPoint(QString mountpoint) {m_mountpoint =mountpoint; } void setTargetId(int id){m_targetid = id;} void setLang(QString name){m_lang =name;} + void setWavtrimThreshold(int th){m_wavtrimThreshold = th;} void setProxy(QUrl proxy){m_proxy = proxy;} private slots: @@ -75,6 +75,7 @@ private: QString m_path; //path where the wav and mp3 files are stored to int m_targetid; //the target id QString m_lang; // the language which will be spoken + int m_wavtrimThreshold; ProgressloggerInterface* m_logger; -- cgit v1.2.3