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:
parent
f860b57143
commit
be0e197190
12 changed files with 337 additions and 239 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue