3 extern void afm_help();
4 //extern int init_best_audio_codec(sh_audio_t *sh_audio,char* audio_codec,char* audio_fm);
5 extern int init_audio_codec(sh_audio_t
*sh_audio
);
6 extern int init_audio(sh_audio_t
*sh_audio
,char* codecname
,char* afm
,int status
);
7 extern int init_best_audio_codec(sh_audio_t
*sh_audio
,char** audio_codec_list
,char** audio_fm_list
);
8 extern int decode_audio(sh_audio_t
*sh_audio
,unsigned char *buf
,int minlen
,int maxlen
);
9 extern void resync_audio_stream(sh_audio_t
*sh_audio
);
10 extern void skip_audio_frame(sh_audio_t
*sh_audio
);
11 extern void uninit_audio(sh_audio_t
*sh_audio
);
13 extern int init_audio_filters(sh_audio_t
*sh_audio
,
14 int in_samplerate
, int in_channels
, int in_format
,
15 int *out_samplerate
, int *out_channels
, int *out_format
,
16 int out_minsize
, int out_maxsize
);
17 extern int preinit_audio_filters(sh_audio_t
*sh_audio
,
18 int in_samplerate
, int in_channels
, int in_format
,
19 int* out_samplerate
, int* out_channels
, int* out_format
);