forked from len0rd/rockbox
Use System TTS if none is set.
If no TTS has been selected previously default to the system one if any. Otherwise use espeak. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29758 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
d038db9420
commit
2e990a6827
1 changed files with 7 additions and 1 deletions
|
@ -41,7 +41,13 @@ const static struct {
|
|||
{ RbSettings::OfPath, "ofpath", "" },
|
||||
{ RbSettings::Platform, "platform", "" },
|
||||
{ RbSettings::Language, "lang", "" },
|
||||
{ RbSettings::Tts, "tts", "" },
|
||||
#if defined(Q_OS_WIN32)
|
||||
{ RbSettings::Tts, "tts", "sapi" },
|
||||
#elif defined(Q_OS_MACX)
|
||||
{ RbSettings::Tts, "tts", "carbon" },
|
||||
#else
|
||||
{ RbSettings::Tts, "tts", "espeak" },
|
||||
#endif
|
||||
{ RbSettings::LastTalkedFolder, "last_talked_folder", "" },
|
||||
{ RbSettings::VoiceLanguage, "voicelanguage", "" },
|
||||
{ RbSettings::TtsLanguage, ":tts:/language", "" },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue