23 #ifndef AVCODEC_AUDIOCONVERT_H
24 #define AVCODEC_AUDIOCONVERT_H
33 #if FF_API_AUDIO_CONVERT
39 struct AVAudioConvert;
40 typedef struct AVAudioConvert AVAudioConvert;
55 AVAudioConvert *av_audio_convert_alloc(
enum AVSampleFormat out_fmt,
int out_channels,
57 const float *matrix,
int flags);
65 void av_audio_convert_free(AVAudioConvert *ctx);
78 int av_audio_convert(AVAudioConvert *ctx,
79 void *
const out[6],
const int out_stride[6],
80 const void *
const in[6],
const int in_stride[6],
int len);