[][src]Function ffmpeg_dev::sys::avresample_config

pub unsafe extern "C" fn avresample_config(
    avr: *mut AVAudioResampleContext,
    out: *mut AVFrame,
    in_: *mut AVFrame
) -> c_int

@deprecated use libswresample

Configure or reconfigure the AVAudioResampleContext using the information provided by the AVFrames.

The original resampling context is reset even on failure. The function calls avresample_close() internally if the context is open.

@see avresample_open(); @see avresample_close();

@param avr audio resample context @param out output AVFrame @param in input AVFrame @return 0 on success, AVERROR on failure.