Function ff_audio_data_add_to_fifo

Source
pub unsafe extern "C" fn ff_audio_data_add_to_fifo(
    af: *mut AVAudioFifo,
    a: *mut AudioData,
    offset: c_int,
    nb_samples: c_int,
) -> c_int
Expand description

Add samples in AudioData to an AVAudioFifo.

@param af Audio FIFO Buffer @param a AudioData struct @param offset number of samples to skip from the start of the data @param nb_samples number of samples to add to the FIFO @return number of samples actually added to the FIFO, or negative AVERROR code on error