mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 21:25:19 -05:00
Completely rework the talk files window: move settings to configuration dialog and add configuration presets. Remove some old cruft from talkfile handling and rely on values from rbutil.ini. Autodetection of executables is missing.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14495 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
f2bf042edf
commit
c03102b346
12 changed files with 408 additions and 382 deletions
|
|
@ -24,19 +24,6 @@ TalkFileCreator::TalkFileCreator(QObject* parent): QObject(parent)
|
|||
|
||||
}
|
||||
|
||||
void TalkFileCreator::setTTsType(QString tts)
|
||||
{
|
||||
m_curTTS = tts;
|
||||
int index = m_supportedTTS.indexOf(m_curTTS);
|
||||
m_curTTSTemplate = m_supportedTTSTemplates.at(index);
|
||||
}
|
||||
|
||||
void TalkFileCreator::setEncType(QString enc)
|
||||
{
|
||||
m_curEnc = enc;
|
||||
int index = m_supportedEnc.indexOf(m_curEnc);
|
||||
m_curEncTemplate = m_supportedEncTemplates.at(index);
|
||||
}
|
||||
|
||||
bool TalkFileCreator::initEncoder()
|
||||
{
|
||||
|
|
@ -203,17 +190,4 @@ bool TalkFileCreator::encode(QString input,QString output)
|
|||
|
||||
}
|
||||
|
||||
QString TalkFileCreator::getTTsOpts(QString ttsname)
|
||||
{
|
||||
int index = m_supportedTTS.indexOf(ttsname);
|
||||
|
||||
return m_supportedTTSOpts.at(index);
|
||||
}
|
||||
|
||||
QString TalkFileCreator::getEncOpts(QString encname)
|
||||
{
|
||||
int index = m_supportedEnc.indexOf(encname);
|
||||
|
||||
return m_supportedEncOpts.at(index);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue