2001-10-30 18:04:59 +01:00
|
|
|
|
|
|
|
// dec_audio.c:
|
2006-02-09 15:08:03 +01:00
|
|
|
extern void afm_help(void);
|
2002-09-28 04:23:20 +02:00
|
|
|
//extern int init_best_audio_codec(sh_audio_t *sh_audio,char* audio_codec,char* audio_fm);
|
|
|
|
extern int init_audio_codec(sh_audio_t *sh_audio);
|
|
|
|
extern int init_audio(sh_audio_t *sh_audio,char* codecname,char* afm,int status);
|
|
|
|
extern int init_best_audio_codec(sh_audio_t *sh_audio,char** audio_codec_list,char** audio_fm_list);
|
2001-10-30 18:04:59 +01:00
|
|
|
extern int decode_audio(sh_audio_t *sh_audio,unsigned char *buf,int minlen,int maxlen);
|
|
|
|
extern void resync_audio_stream(sh_audio_t *sh_audio);
|
|
|
|
extern void skip_audio_frame(sh_audio_t *sh_audio);
|
2002-05-25 15:22:28 +02:00
|
|
|
extern void uninit_audio(sh_audio_t *sh_audio);
|
2002-10-06 00:55:45 +02:00
|
|
|
|
|
|
|
extern int init_audio_filters(sh_audio_t *sh_audio,
|
2005-02-25 12:11:07 +01:00
|
|
|
int in_samplerate, int in_channels, int in_format,
|
2005-06-24 12:50:53 +02:00
|
|
|
int *out_samplerate, int *out_channels, int *out_format,
|
2002-10-13 23:58:55 +02:00
|
|
|
int out_minsize, int out_maxsize);
|
2003-02-02 03:42:59 +01:00
|
|
|
extern int preinit_audio_filters(sh_audio_t *sh_audio,
|
2005-02-25 12:11:07 +01:00
|
|
|
int in_samplerate, int in_channels, int in_format,
|
|
|
|
int* out_samplerate, int* out_channels, int* out_format);
|