20#if FASTLED_HAS_AUDIO_INPUT
24 FL_WARN(
"Failed to create audio input: " << errorMsg);
30 proc->setMicProfile(config.getMicProfile());
33 FL_WARN(
"Replacing existing audio processor");
41 FL_WARN(
"Replacing existing audio processor");
50 FL_WARN(
"Cannot add null audio input");
56 FL_WARN(
"Replacing existing audio processor");
63 auto input = uiAudio.audioInput();
69 const auto& cfg = uiAudio.config();
70 if (cfg.has_value()) {
73 FL_WARN(
"UIAudio has no audio input and no hardware config");
static T & instance() FL_NO_EXCEPT
void remove(shared_ptr< Processor > processor) FL_NO_EXCEPT
static AudioManager & instance() FL_NO_EXCEPT
shared_ptr< Processor > add(const Config &config) FL_NO_EXCEPT
AudioManager() FL_NO_EXCEPT=default
shared_ptr< Processor > & processor() FL_NO_EXCEPT
static fl::shared_ptr< Processor > createWithAutoInput(fl::shared_ptr< IInput > input) FL_NO_EXCEPT
Centralized logging categories for FastLED hardware interfaces and subsystems.
constexpr remove_reference< T >::type && move(T &&t) FL_NO_EXCEPT
shared_ptr< T > make_shared(Args &&... args) FL_NO_EXCEPT
@ None
No correction (flat response assumed)
u8 u8 fract8 blur_amount FL_NO_EXCEPT
float add(float &a, float &b) FL_NO_EXCEPT
Base definition for an LED controller.
Aggregator header for the fl/ui/ family of per-element UI types.