42 void pushSamples (
const float* src,
const int numSamples);
50 void readSamples (
float* dest,
const int numSamples);
56 inline void getProcessPositions (
int startIndex,
int numSamples,
int& blockSize1,
int& blockSize2);
58 inline void getWritePositions (
int numSamples,
int& startIndex,
int& blockSize1,
int& blockSize2);
60 inline void getReadPositions (
int numSamples,
int& startIndex,
int& blockSize1,
int& blockSize2);
~LookAheadGainReduction()
void getReadPositions(int numSamples, int &startIndex, int &blockSize1, int &blockSize2)
void setDelayTime(float delayTimeInSeconds)
const int getDelayInSamples()
void getWritePositions(int numSamples, int &startIndex, int &blockSize1, int &blockSize2)
void prepare(const double sampleRate, const int blockSize)
void pushSamples(const float *src, const int numSamples)
void readSamples(float *dest, const int numSamples)
std::vector< float > buffer
void getProcessPositions(int startIndex, int numSamples, int &blockSize1, int &blockSize2)