summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/rbsettings.cpp
diff options
context:
space:
mode:
authorDominik Wenger <domonoky@googlemail.com>2008-02-09 12:28:12 +0000
committerDominik Wenger <domonoky@googlemail.com>2008-02-09 12:28:12 +0000
commit5e1fbffc611800db5759233d7a3222f6258bf621 (patch)
tree7d0483e738e7bc4c12a7d724fcb4b36ebbc971bf /rbutil/rbutilqt/rbsettings.cpp
parent952347decbc33cafb6e7399ce33e1dbaabfd9699 (diff)
downloadrockbox-5e1fbffc611800db5759233d7a3222f6258bf621.tar.gz
rockbox-5e1fbffc611800db5759233d7a3222f6258bf621.tar.bz2
rockbox-5e1fbffc611800db5759233d7a3222f6258bf621.zip
rbutil: added hindi and tagalog to the voice languages. Set correct defaults for rbspeex encoder and sapi tts. Resurect the non-recursive option for talkfile generation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16249 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/rbutilqt/rbsettings.cpp')
-rw-r--r--rbutil/rbutilqt/rbsettings.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/rbutil/rbutilqt/rbsettings.cpp b/rbutil/rbutilqt/rbsettings.cpp
index 5b9dc6c0ad..51f7057cc2 100644
--- a/rbutil/rbutilqt/rbsettings.cpp
+++ b/rbutil/rbutilqt/rbsettings.cpp
@@ -288,7 +288,7 @@ QString RbSettings::ttsOptions(QString tts)
QString RbSettings::ttsVoice(QString tts)
{
userSettings->beginGroup(tts);
- QString op = userSettings->value("ttsvoice").toString();
+ QString op = userSettings->value("ttsvoice","Microsoft Sam").toString();
userSettings->endGroup();
return op;
}
@@ -302,7 +302,7 @@ int RbSettings::ttsSpeed(QString tts)
QString RbSettings::ttsLang(QString tts)
{
userSettings->beginGroup(tts);
- QString op = userSettings->value("ttslanguage").toString();
+ QString op = userSettings->value("ttslanguage","english").toString();
userSettings->endGroup();
return op;
}
@@ -332,14 +332,14 @@ double RbSettings::encoderQuality(QString enc)
int RbSettings::encoderComplexity(QString enc)
{
userSettings->beginGroup(enc);
- int c = userSettings->value("complexity",1.f).toInt();
+ int c = userSettings->value("complexity",10).toInt();
userSettings->endGroup();
return c;
}
double RbSettings::encoderVolume(QString enc)
{
userSettings->beginGroup(enc);
- double v = userSettings->value("volume",10).toDouble();
+ double v = userSettings->value("volume",1.f).toDouble();
userSettings->endGroup();
return v;
}