forked from len0rd/rockbox
Make SAPI implementation more parametrizable.
Move command line template for listing voices and generation into protected member variables and initialize them in the constructor. This allows derived classes to overwrite these, allowing to change the command line call. Make the name used for storing the classes values to the configuration parametrize at all. Remove SAPI4 support, this will be handled in a derived class later. Change-Id: Ib5a261c56cdf93a44fffdfa6edea409d89fd84ba
This commit is contained in:
parent
4a9ba12ca7
commit
6be7dabdd9
2 changed files with 35 additions and 34 deletions
|
|
@ -61,12 +61,15 @@ class TTSSapi : public TTSBase
|
|||
|
||||
QString m_TTSexec;
|
||||
QString m_TTSOpts;
|
||||
QString m_TTSTemplate;
|
||||
QString m_TTSLanguage;
|
||||
QString m_TTSVoice;
|
||||
QString m_TTSSpeed;
|
||||
bool m_sapi4;
|
||||
bool m_started;
|
||||
|
||||
protected:
|
||||
QString m_TTSTemplate;
|
||||
QString m_TTSVoiceTemplate;
|
||||
QString m_TTSType;
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue