MCPcopy Create free account
hub / github.com/FastLED/FastLED / onEnergy

Method onEnergy

src/fl/audio/audio_processor.cpp.hpp:163–166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

161}
162
163void Processor::onEnergy(function<void(float)> callback) {
164 auto detector = getEnergyAnalyzer();
165 detector->onEnergy.add(callback);
166}
167
168void Processor::onNormalizedEnergy(function<void(float)> callback) {
169 auto detector = getEnergyAnalyzer();

Callers 7

FL_TEST_FILEFunction · 0.80
FL_TEST_FILEFunction · 0.80
FL_TEST_FILEFunction · 0.80
runProfilerFunction · 0.80
prewarmFFTCacheFunction · 0.80
runProfilerFunction · 0.80
runProfilerFunction · 0.80

Calls 1

addMethod · 0.45

Tested by

no test coverage detected