![]() |
r8brain-free-src
High-quality pro audio sample rate converter library
|
A "keeper" class for real-valued FFT transform objects. More...
#include <CDSPRealFFT.h>
Public Member Functions | |
CDSPRealFFTKeeper (const int LenBits) | |
void | init (const int LenBits) |
const CDSPRealFFT * | operator-> () const |
void | reset () |
A "keeper" class for real-valued FFT transform objects.
Class implements "keeper" functionality for handling CDSPRealFFT objects. The allocated FFT objects are placed on the global static list of objects for future reuse instead of deallocation.
r8b::CDSPRealFFTKeeper::CDSPRealFFTKeeper | ( | const int | LenBits | ) |
Function acquires FFT object with the specified block length.
LenBits | The length of FFT block (Nth power of 2), in the range [1; 30] inclusive, specifies the number of real values in a FFT block. |
void r8b::CDSPRealFFTKeeper::init | ( | const int | LenBits | ) |
Function acquires FFT object with the specified block length. This function can be called any number of times.
LenBits | The length of FFT block (Nth power of 2), in the range [1; 30] inclusive, specifies the number of real values in a FFT block. |
const CDSPRealFFT * r8b::CDSPRealFFTKeeper::operator-> | ( | ) | const |
void r8b::CDSPRealFFTKeeper::reset | ( | ) |
Function releases a previously acquired FFT object.