enable wav payback (16 bit le) (from TDT, thanks hellmaster1024)

This commit is contained in:
martii
2012-10-27 18:07:02 +02:00
parent 669a91f8b7
commit bc74c7528b
3 changed files with 110 additions and 9 deletions

View File

@@ -55,6 +55,9 @@ typedef struct Track_s {
/* If player2 or the elf do not support decoding of audio codec set this.
* AVCodec is than used for softdecoding and stream will be injected as PCM */
int inject_as_pcm;
#ifdef MARTII
int inject_raw_pcm;
#endif
} Track_t;
typedef struct Manager_s {

View File

@@ -53,6 +53,9 @@ typedef struct Writer_s {
} Writer_t;
extern Writer_t WriterAudioIPCM;
#ifdef MARTII
extern Writer_t WriterAudioPCM;
#endif
extern Writer_t WriterAudioMP3;
extern Writer_t WriterAudioMPEGL3;
extern Writer_t WriterAudioAC3;
@@ -80,6 +83,9 @@ extern Writer_t WriterDVBSubtitle;
static Writer_t * AvailableWriter[] = {
&WriterAudioIPCM,
#ifdef MARTII
&WriterAudioPCM,
#endif
&WriterAudioMP3,
&WriterAudioMPEGL3,
&WriterAudioAC3,