#include <ffmpegNetStreamUtil.h>
Public Member Functions | |
| AudioResampler () | |
| ~AudioResampler () | |
| bool | init (AVCodecContext *ctx) |
| Initializes the resampler. | |
| int | resample (boost::int16_t *input, boost::int16_t *output, int samples) |
| Resamples audio. | |
| gnash::media::AudioResampler::AudioResampler | ( | ) |
| gnash::media::AudioResampler::~AudioResampler | ( | ) |
| bool gnash::media::AudioResampler::init | ( | AVCodecContext * | ctx | ) |
Initializes the resampler.
Initialize the resampler.
| ctx | The audio format container. |
| ctx | The audio format container. |
| int gnash::media::AudioResampler::resample | ( | boost::int16_t * | input, | |
| boost::int16_t * | output, | |||
| int | samples | |||
| ) |
Resamples audio.
Resample audio.
| input | A pointer to the audio data that needs resampling | |
| output | A pointer to where the resampled output should be placed | |
| samples | Number of samples in the audio |
| input | A pointer to the audio data that needs resampling | |
| output | A pointer to where the resampled output should be placed | |
| samples | Number of samples in the audio |
1.5.4