1
0
Fork 0
forked from len0rd/rockbox

Split up encoders sources.

Create a separate source / header file for each supported encoder and the base
class and rename classes for better readability. This should also make it
easier adding new encoders.

Remove a few trailing spaces while at it.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31592 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dominik Riebeling 2012-01-06 19:19:32 +00:00
parent f860b57143
commit be0e197190
12 changed files with 337 additions and 239 deletions

View file

@ -25,7 +25,7 @@
#include <QtCore>
#include "progressloggerinterface.h"
#include "encoders.h"
#include "encoderbase.h"
#include "ttsbase.h"
//! \brief Talk generator, generates .wav and .talk files out of a list.
@ -57,9 +57,9 @@ public:
* for error checking */
struct
{
EncBase* encoder;
EncoderBase* encoder;
TTSBase* tts;
TalkGenerator* generator;
TalkGenerator* generator;
int wavtrim;
} refs;
};
@ -92,7 +92,7 @@ private:
static void ttsEntryPoint(TalkEntry& entry);
TTSBase* m_tts;
EncBase* m_enc;
EncoderBase* m_enc;
bool m_ttsWarnings;
bool m_userAborted;