arduino-audio-tools
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | List of all members
fft_state< Allocator > Struct Template Reference

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

AudioFFTBasedriver
 
int N
 
std::vector< float, FloatAllocatortemp_img
 
std::vector< float, FloatAllocatortemp_real
 

Detailed Description

template<typename Allocator = std::allocator<uint8_t>>
struct audio_tools::fft_state< Allocator >

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.

Template Parameters
AllocatorCustom allocator type (defaults to std::allocator<uint8_t>)

The documentation for this struct was generated from the following file: