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

Method fireCallbacks

src/fl/audio/detector/key.cpp.hpp:374–387  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

372}
373
374void KeyDetector::fireCallbacks() {
375 if (mFireKeyEnd) {
376 if (onKeyEnd) onKeyEnd();
377 mFireKeyEnd = false;
378 }
379 if (mFireKeyChange) {
380 if (onKeyChange) onKeyChange(mCurrentKey);
381 mFireKeyChange = false;
382 }
383 if (mFireKey) {
384 if (onKey) onKey(mCurrentKey);
385 mFireKey = false;
386 }
387}
388
389} // namespace detector
390} // namespace audio

Callers 14

updateMethod · 0.45
updateFromContextMethod · 0.45
FL_TEST_FILEFunction · 0.45
vocal.hppFile · 0.45
runDetectorOnPcmFunction · 0.45
beat.hppFile · 0.45
runPeriodicBeatTestFunction · 0.45
equalizer.hppFile · 0.45
percussion.hppFile · 0.45
tempo_analyzer.hppFile · 0.45
feedFramesFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected