Function avresample_close

Source
pub unsafe extern "C" fn avresample_close(
    avr: *mut AVAudioResampleContext,
)
Expand description

@deprecated use libswresample

Close AVAudioResampleContext.

This closes the context, but it does not change the parameters. The context can be reopened with avresample_open(). It does, however, clear the output FIFO and any remaining leftover samples in the resampling delay buffer. If there was a custom matrix being used, that is also cleared.

@see avresample_convert() @see avresample_set_matrix()

@param avr audio resample context