FFmpeg
|
Go to the source code of this file.
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 145 of file resample.c.
Referenced by avresample_open().
void ff_audio_resample_free | ( | ResampleContext ** | c | ) |
Free a ResampleContext.
c | ResampleContext |
Definition at line 237 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 408 of file resample.c.
Referenced by avresample_convert().