#include "avresample.h"
#include "audio_data.h"
Go to the source code of this file.
Typedefs | |
typedef struct ResampleContext | ResampleContext |
Functions | |
ResampleContext * | ff_audio_resample_init (AVAudioResampleContext *avr) |
Allocate and initialize a ResampleContext. | |
void | ff_audio_resample_free (ResampleContext **c) |
Free a ResampleContext. | |
int | ff_audio_resample (ResampleContext *c, AudioData *dst, AudioData *src, int *consumed) |
Resample audio data. |
typedef struct ResampleContext ResampleContext |
Definition at line 27 of file resample.h.
int ff_audio_resample | ( | ResampleContext * | c, | |
AudioData * | dst, | |||
AudioData * | src, | |||
int * | consumed | |||
) |
Resample audio data.
Changes the sample rate.
c | ResampleContext | |
dst | destination audio data | |
src | source audio data | |
consumed | number of samples consumed from the source |
Definition at line 419 of file resample.c.
Referenced by avresample_convert().
void ff_audio_resample_free | ( | ResampleContext ** | c | ) |
Free a ResampleContext.
c | ResampleContext |
Definition at line 231 of file resample.c.
Referenced by avresample_close().
ResampleContext* ff_audio_resample_init | ( | AVAudioResampleContext * | avr | ) |
Allocate and initialize a ResampleContext.
The parameters in the AVAudioResampleContext are used to initialize the ResampleContext.
avr | AVAudioResampleContext |
Definition at line 164 of file resample.c.
Referenced by avresample_open().