标签:Plan point pointer run 说明 空间 pack desc less
一. 说明
AVAudioFifo是FFmpeg提供的一个先入先出的音频缓冲队列。主要要以下几个特点:
二. 主要函数
av_audio_fifo_read()的声明在libavutil/audio_fifo.h,如下所示。
/** * Read 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 read * @return number of samples actually read, or negative AVERROR code * on failure. The number of samples actually read 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. */ int av_audio_fifo_read(AVAudioFifo *af, void **data, int nb_samples);
三. 参考链接
1. FFmpeg: Audio FIFO Buffer标签:Plan point pointer run 说明 空间 pack desc less
原文地址:https://www.cnblogs.com/yongdaimi/p/12487836.html