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

◆ updateFromContext()

void fl::audio::Processor::updateFromContext ( shared_ptr< Context > externalContext)

Definition at line 87 of file audio_processor.cpp.hpp.

87 {
88 // Use externally-provided context (FFT already cached, signal already conditioned).
89 // This avoids recomputing FFT when Reactive has already done it.
90 for (auto& d : mActiveDetectors) {
91 d->update(externalContext);
92 }
93 for (auto& d : mActiveDetectors) {
94 d->fireCallbacks();
95 }
96}
vector< shared_ptr< Detector > > mActiveDetectors

References mActiveDetectors, and updateFromContext().

Referenced by ~Processor(), and updateFromContext().

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