AudConvolver.h
Classes
- AudConvolver -- (full description)
Interface
- Public Members
- static void initConvolver (long bufferLength, long filterLength)
- static void xformChannel (complex *cbuf, short *sx, long n)
- AudConvolver ()
- ~AudConvolver ()
- void input (short *sampleBuffer)
- float *output (complex *leftFilter, complex *rightFileter, double gain)
- Private Members
- void cOptMul (complex *a, complex *b, complex *c, long n)
Member Description
static void initConvolver (long bufferLength, long filterLength)
Static Method: initConvolver
Initial call to set up workspace. Call once in program.
static void xformChannel (complex *cbuf, short *sx, long n)
Static Method: xformChannel
Transform filter to frequency domain.
Constructor: AudConvolver
Initialize a convolver for a given source.
Destructor: ~AudConvolver
void input (short *sampleBuffer)
Method: input
Provide the input to be convolved.
float *output (complex *leftFilter, complex *rightFileter, double gain)
Method: output
Returns the output of the input convolved with left and right filters
and scaled by the given gain.
void cOptMul (complex *a, complex *b, complex *c, long n)
Private Method: cOptMul
Optimized multiply of two complex numbers.