Audaspace
1.3.0
A high level audio library.
|
Go to the documentation of this file.
33 #define DEFAULT_N 4096
51 fftwf_plan m_fftPlanR2C;
56 fftwf_plan m_fftPlanC2R;
61 unsigned int m_bufferSize;
98 void FFT(
void* buffer);
FFTPlan(int n, double measureTime=0)
Creates a new FFTPlan object with a custom size.
FFTPlan(double measureTime=0)
Creates a new FFTPlan object with DEFAULT_N size (4096).
void * getBuffer()
Reserves memory for a buffer that can be used for inplace transformations with this plan.
void FFT(void *buffer)
Calculates the FFT of an input buffer with the current plan.
int getSize()
Retrieves the size of the FFT plan.
Thas class represents an plan object that allows to calculate FFTs and IFFTs.
Definition: FFTPlan.h:41
void IFFT(void *buffer)
Calculates the IFFT of an input buffer with the current plan.
#define AUD_NAMESPACE_END
Closes the audaspace namespace aud.
Definition: Audaspace.h:119
void freeBuffer(void *buffer)
Frees one of the buffers reserved with the getRealOnlyBuffer(), getComplexOnlyBuffer() or getInplaceB...
#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
The main header file of the library defining the namespace and basic data types.