FFmpeg
|
Go to the source code of this file.
Data Structures | |
struct | resample_init_func |
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) |
Resample audio data. | |
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 120 of file resample.c.
Referenced by avresample_open().
void ff_audio_resample_free | ( | ResampleContext ** | c | ) |
Free a ResampleContext.
c | ResampleContext |
Definition at line 224 of file resample.c.
Referenced by avresample_close().
int ff_audio_resample | ( | ResampleContext * | c, |
AudioData * | dst, | ||
AudioData * | src | ||
) |
Resample audio data.
Changes the sample rate.
c | ResampleContext |
dst | destination audio data |
src | source audio data |
Definition at line 393 of file resample.c.
Referenced by avresample_convert().