|
arduino-audio-tools
|
FFT state management structure with custom allocator support. More...
#include <MDFEchoCancellation.h>
Public Types | |
| using | FloatAllocator = typename std::allocator_traits< Allocator >::template rebind_alloc< float > |
Public Member Functions | |
| fft_state (int size, AudioFFTBase *drv, const Allocator &alloc=Allocator()) | |
| Construct FFT state with specified size and driver. | |
Public Attributes | |
| AudioFFTBase * | driver |
| int | N |
| std::vector< float, FloatAllocator > | temp_img |
| std::vector< float, FloatAllocator > | temp_real |
FFT state management structure with custom allocator support.
Manages FFT operations through an abstract AudioFFTBase driver interface and maintains temporary buffers for real and imaginary components. The structure is templated to support custom memory allocators for embedded systems or specialized memory management requirements.
| Allocator | Custom allocator type (defaults to std::allocator<uint8_t>) |