svcore
1.9
|
#include <Resampler.h>
Classes | |
class | D |
Public Types | |
enum | Quality { Best, FastestTolerable, Fastest } |
Public Member Functions | |
Resampler (Quality quality, int channels, int chunkSize=0) | |
~Resampler () | |
int | resample (float **in, float **out, int incount, float ratio, bool final=false) |
int | resampleInterleaved (float *in, float *out, int incount, float ratio, bool final=false) |
void | reset () |
Protected Attributes | |
D * | m_d |
Definition at line 26 of file Resampler.h.
enum Resampler::Quality |
Definition at line 29 of file Resampler.h.
Resampler::Resampler | ( | Quality | quality, |
int | channels, | ||
int | chunkSize = 0 |
||
) |
Definition at line 165 of file Resampler.cpp.
References m_d.
Definition at line 170 of file Resampler.cpp.
References m_d.
int Resampler::resample | ( | float ** | in, |
float ** | out, | ||
int | incount, | ||
float | ratio, | ||
bool | final = false |
||
) |
Definition at line 176 of file Resampler.cpp.
References m_d, and Resampler::D::resample().
int Resampler::resampleInterleaved | ( | float * | in, |
float * | out, | ||
int | incount, | ||
float | ratio, | ||
bool | final = false |
||
) |
Definition at line 184 of file Resampler.cpp.
References m_d, and Resampler::D::resampleInterleaved().
Referenced by CodedAudioFileReader::pushBufferResampling(), and Resampler::D::resample().
void Resampler::reset | ( | ) |
Definition at line 192 of file Resampler.cpp.
References m_d, and Resampler::D::reset().
D* Resampler::m_d [protected] |
Definition at line 45 of file Resampler.h.
Referenced by resample(), resampleInterleaved(), Resampler(), reset(), and ~Resampler().