mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 23:13:16 +02:00
libeplayer3: move audio resampling to dedicated ipcm writer
This commit is contained in:
@@ -12,19 +12,23 @@
|
||||
|
||||
typedef enum { eNone, eAudio, eVideo, eGfx } eWriterType_t;
|
||||
|
||||
struct Context_s;
|
||||
typedef struct Context_s Context_t;
|
||||
|
||||
typedef struct {
|
||||
int fd;
|
||||
uint8_t *data;
|
||||
unsigned int len;
|
||||
uint64_t Pts;
|
||||
int64_t Pts;
|
||||
int uNoOfChannels;
|
||||
int uSampleRate;
|
||||
int uBitsPerSample;
|
||||
int bLittleEndian;
|
||||
/* context from ffmpeg */
|
||||
int restart_audio_resampling;
|
||||
AVFormatContext *avfc;
|
||||
/* stream from ffmpeg */
|
||||
AVStream *stream;
|
||||
AVPacket *packet;
|
||||
Context_t *context;
|
||||
} WriterAVCallData_t;
|
||||
|
||||
typedef struct WriterCaps_s {
|
||||
|
Reference in New Issue
Block a user