#include <stdint.h>#include "libavutil/audio_fifo.h"#include "libavutil/log.h"#include "libavutil/samplefmt.h"#include "avresample.h"#include "internal.h"Go to the source code of this file.
Definition at line 51 of file audio_data.c.
Referenced by avresample_convert(), and ff_audio_mix().
Initialize AudioData using a given source.
This does not allocate an internal buffer. It only sets the data pointers and audio parameters.
Definition at line 65 of file audio_data.c.
Referenced by avresample_convert().
Allocate AudioData.
This allocates an internal buffer and sets audio parameters.
Definition at line 110 of file audio_data.c.
Referenced by avresample_open(), avresample_set_compensation(), ff_audio_resample_init(), and ff_dither_alloc().
Reallocate AudioData.
The AudioData must have been previously allocated with ff_audio_data_alloc().
Definition at line 153 of file audio_data.c.
Referenced by avresample_convert(), ff_audio_data_alloc(), ff_audio_data_combine(), ff_audio_data_copy(), ff_audio_data_read_from_fifo(), ff_audio_resample(), and ff_convert_dither().
Free AudioData.
The AudioData must have been previously allocated with ff_audio_data_alloc().
Definition at line 208 of file audio_data.c.
Referenced by avresample_close(), avresample_set_compensation(), ff_audio_resample_free(), ff_audio_resample_init(), and ff_dither_free().
Copy data from one AudioData to another.
Definition at line 216 of file audio_data.c.
Referenced by avresample_convert(), ff_convert_dither(), and handle_buffered_output().
Append data from one AudioData to the end of another.
Definition at line 269 of file audio_data.c.
Referenced by ff_audio_resample().
Drain samples from the start of the AudioData.
Remaining samples are shifted to the start of the AudioData.
Definition at line 325 of file audio_data.c.
Referenced by ff_audio_resample().
Add samples in AudioData to an AVAudioFifo.
Definition at line 342 of file audio_data.c.
Referenced by avresample_set_compensation(), and handle_buffered_output().
Read samples from an AVAudioFifo to AudioData.
Definition at line 357 of file audio_data.c.
Referenced by avresample_set_compensation(), and handle_buffered_output().