51 fftwf_plan m_fftPlanR2C;
56 fftwf_plan m_fftPlanC2R;
61 unsigned int m_bufferSize;
64 FFTPlan(
const FFTPlan&) =
delete;
65 FFTPlan& operator=(
const FFTPlan&) =
delete;
98 void FFT(
void* buffer);
The main header file of the library defining the namespace and basic data types.
#define AUD_NAMESPACE_END
Closes the audaspace namespace aud.
Definition Audaspace.h:119
#define AUD_NAMESPACE_BEGIN
Opens the audaspace namespace aud.
Definition Audaspace.h:116
#define AUD_API
Used for exporting symbols in the shared library.
Definition Audaspace.h:93
int getSize()
Retrieves the size of the FFT plan.
void FFT(void *buffer)
Calculates the FFT of an input buffer with the current plan.
FFTPlan(int n, double measureTime=0)
Creates a new FFTPlan object with a custom size.
void freeBuffer(void *buffer)
Frees one of the buffers reserved with the getRealOnlyBuffer(), getComplexOnlyBuffer() or getInplaceB...
void * getBuffer()
Reserves memory for a buffer that can be used for inplace transformations with this plan.
void IFFT(void *buffer)
Calculates the IFFT of an input buffer with the current plan.
FFTPlan(double measureTime=0)
Creates a new FFTPlan object with DEFAULT_N size (4096).