Function avresample_get_out_samples

Source
pub unsafe extern "C" fn avresample_get_out_samples(
    avr: *mut AVAudioResampleContext,
    in_nb_samples: c_int,
) -> c_int
Expand description

@deprecated use libswresample

Provide the upper bound on the number of samples the configured conversion would output.

@param avr audio resample context @param in_nb_samples number of input samples

@return number of samples or AVERROR(EINVAL) if the value would exceed INT_MAX