[][src]Function stainless_ffmpeg_sys::av_audio_fifo_peek

pub unsafe extern "C" fn av_audio_fifo_peek(
    af: *mut AVAudioFifo,
    data: *mut *mut c_void,
    nb_samples: c_int
) -> c_int

Peek data from an AVAudioFifo.

@see enum AVSampleFormat The documentation for AVSampleFormat describes the data layout.

@param af AVAudioFifo to read from @param data audio data plane pointers @param nb_samples number of samples to peek @return number of samples actually peek, or negative AVERROR code on failure. The number of samples actually peek will not be greater than nb_samples, and will only be less than nb_samples if av_audio_fifo_size is less than nb_samples.