FastLED 3.9.15
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages

◆ get_flex_fft()

FFT & fl::anonymous_namespace{audio.cpp}::get_flex_fft ( )

Definition at line 9 of file audio.cpp.

9 {
10 // This is a singleton for the FFT implementation.
11 // It is used to avoid creating multiple FFT instances.
12 static ThreadLocal<FFT> gFlexFFT;
13 return gFlexFFT.access();
14}
ThreadLocalFake< T > ThreadLocal

References fl::ThreadLocalFake< T >::access(), and get_flex_fft().

Referenced by get_flex_fft().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: