mirror of
https://github.com/mpv-player/mpv
synced 2024-12-16 11:55:42 +00:00
6338c068a2
Remove the following arguments as redundant: in_channels, in_format, out_minsize, out_maxsize. The first two always equal fields of the sh_audio_t struct given as the first argument to the function. The last two are unused after the allocation of sh_audio->a_out_buffer was changed to be done on demand. After the out_minsize and out_maxsize arguments are removed the function preinit_audio_filters() is identical to init_audio_filters(), so remove it and use the latter instead. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24922 b3059339-0415-0410-9bf9-f77b7e298cf2
12 lines
492 B
C
12 lines
492 B
C
|
|
// dec_audio.c:
|
|
extern void afm_help(void);
|
|
extern int init_best_audio_codec(sh_audio_t *sh_audio,char** audio_codec_list,char** audio_fm_list);
|
|
extern int decode_audio(sh_audio_t *sh_audio, int minlen);
|
|
extern void resync_audio_stream(sh_audio_t *sh_audio);
|
|
extern void skip_audio_frame(sh_audio_t *sh_audio);
|
|
extern void uninit_audio(sh_audio_t *sh_audio);
|
|
|
|
extern int init_audio_filters(sh_audio_t *sh_audio, int in_samplerate,
|
|
int *out_samplerate, int *out_channels, int *out_format);
|