FastLED 3.9.15
Loading...
Searching...
No Matches

◆ globalCache()

FFT::ImplCache & fl::audio::fft::FFT::globalCache ( )
staticprivate

Definition at line 243 of file fft.cpp.hpp.

243 {
244 // Global LRU cache with max 10 entries — shared by all FFT instances.
245 // This avoids regenerating expensive CQ kernels when AudioContext is
246 // recreated (each Impl with 128 CQ bins takes ~850ms to initialize).
248}
static T & instance() FL_NOEXCEPT
Definition singleton.h:41

References fl::Singleton< T, N >::instance().

Referenced by clear(), run(), setFFTCacheSize(), and size().

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