37 Decimator(
unsigned int inLength,
unsigned int decFactor );
46 void process(
const double* src,
double* dst );
54 void process(
const float* src,
float* dst );
63 void initialise(
unsigned int inLength,
unsigned int decFactor );
64 void doAntiAlias(
const double* src,
double* dst,
unsigned int length );
65 void doAntiAlias(
const float* src,
double* dst,
unsigned int length );
Decimator carries out a fast downsample by a power-of-two factor.
void initialise(unsigned int inLength, unsigned int decFactor)
unsigned int m_inputLength
static int getHighestSupportedFactor()
void doAntiAlias(const double *src, double *dst, unsigned int length)
void process(const double *src, double *dst)
Process inLength samples (as supplied to constructor) from src and write inLength / decFactor samples...
unsigned int m_outputLength