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

Method onMood

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

Source from the content-addressed store, hash-verified

377}
378
379void Processor::onMood(function<void(const detector::Mood&)> callback) {
380 auto detector = getMoodAnalyzer();
381 detector->onMood.add(callback);
382}
383
384void Processor::onMoodChange(function<void(const detector::Mood&)> callback) {
385 auto detector = getMoodAnalyzer();

Callers 1

runProfilerFunction · 0.80

Calls 1

addMethod · 0.45

Tested by

no test coverage detected