libavutil/audio_fifo.c File Reference

Audio FIFO. More...

#include "avutil.h"
#include "audio_fifo.h"
#include "common.h"
#include "fifo.h"
#include "mem.h"
#include "samplefmt.h"

Go to the source code of this file.

Data Structures

struct  AVAudioFifo

Functions

void av_audio_fifo_free (AVAudioFifo *af)
 Free an AVAudioFifo.
AVAudioFifoav_audio_fifo_alloc (enum AVSampleFormat sample_fmt, int channels, int nb_samples)
 Allocate an AVAudioFifo.
int av_audio_fifo_realloc (AVAudioFifo *af, int nb_samples)
 Reallocate an AVAudioFifo.
int av_audio_fifo_write (AVAudioFifo *af, void **data, int nb_samples)
 Write data to an AVAudioFifo.
int av_audio_fifo_read (AVAudioFifo *af, void **data, int nb_samples)
 Read data from an AVAudioFifo.
int av_audio_fifo_drain (AVAudioFifo *af, int nb_samples)
 Drain data from an AVAudioFifo.
void av_audio_fifo_reset (AVAudioFifo *af)
 Reset the AVAudioFifo buffer.
int av_audio_fifo_size (AVAudioFifo *af)
 Get the current number of samples in the AVAudioFifo available for reading.
int av_audio_fifo_space (AVAudioFifo *af)
 Get the current number of samples in the AVAudioFifo available for writing.


Detailed Description

Audio FIFO.

Definition in file audio_fifo.c.


Generated on Fri Oct 26 02:50:12 2012 for FFmpeg by  doxygen 1.5.8