diff options
author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2012-10-06 13:44:39 +0200 |
---|---|---|
committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2012-10-06 13:53:09 +0200 |
commit | 2c3b8bd1e2887b8c5c825fa42cced6f8490493b5 (patch) | |
tree | 151bbca70fac0f0e90b99f436a60a422f0903091 /rbutil/rbutilqt/base/ttscarbon.h | |
parent | 7f76bb48b352984c4de8f40509618763e39f181f (diff) |
Factor out executable based TTS engines to separate subclasses.
Similar as done with SAPI / MSSP make the current implementation for executable
based TTS engines a base class and create derived classes for each supported
TTS. Removes the need for the implementation to know about the individual TTS
engines.
Add support for speaking directly (i.e. without going through a temporary wave
file, currently only used by espeak).
Change-Id: I59bbbd6ee4c2c009b2a8d8e0ab4a9b39ea723d6e
Diffstat (limited to 'rbutil/rbutilqt/base/ttscarbon.h')
-rw-r--r-- | rbutil/rbutilqt/base/ttscarbon.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rbutil/rbutilqt/base/ttscarbon.h b/rbutil/rbutilqt/base/ttscarbon.h index 4d7cef24d8..2e9e84aa7d 100644 --- a/rbutil/rbutilqt/base/ttscarbon.h +++ b/rbutil/rbutilqt/base/ttscarbon.h @@ -39,7 +39,7 @@ class TTSCarbon : public TTSBase TTSCarbon(QObject *parent = NULL); //! Child class should generate a clip - TTSStatus voice(QString text,QString wavfile, QString* errStr); + TTSStatus voice(QString text, QString wavfile, QString* errStr); //! Child class should do startup bool start(QString *errStr); //! child class should stop @@ -51,7 +51,7 @@ class TTSCarbon : public TTSBase bool configOk(); //! Child class should generate and insertSetting(..) its settings void generateSettings(); - //! Chlid class should commit the Settings to permanent storage + //! Child class should commit the Settings to permanent storage void saveSettings(); Capabilities capabilities(); |