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

Method onTransient

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

Source from the content-addressed store, hash-verified

181}
182
183void Processor::onTransient(function<void()> callback) {
184 auto detector = getTransientDetector();
185 detector->onTransient.add(callback);
186}
187
188void Processor::onTransientWithStrength(function<void(float)> callback) {
189 auto detector = getTransientDetector();

Callers 4

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

Calls 1

addMethod · 0.45

Tested by

no test coverage detected