19#if FASTLED_HAS_AUDIO_INPUT
23 FL_WARN(
"Failed to create audio input: " << errorMsg);
32 FL_WARN(
"Replacing existing audio processor");
40 FL_WARN(
"Replacing existing audio processor");
49 FL_WARN(
"Cannot add null audio input");
55 FL_WARN(
"Replacing existing audio processor");
68 const auto& cfg = uiAudio.
config();
69 if (cfg.has_value()) {
72 FL_WARN(
"UIAudio has no audio input and no hardware config");
static T & instance() FL_NOEXCEPT
fl::shared_ptr< audio::IInput > audioInput() FL_NOEXCEPT
const fl::optional< audio::Config > & config() const FL_NOEXCEPT
shared_ptr< Processor > add(const Config &config) FL_NOEXCEPT
static AudioManager & instance() FL_NOEXCEPT
void remove(shared_ptr< Processor > processor) FL_NOEXCEPT
shared_ptr< Processor > & processor() FL_NOEXCEPT
AudioManager() FL_NOEXCEPT=default
MicProfile getMicProfile() const FL_NOEXCEPT
static fl::shared_ptr< Processor > createWithAutoInput(fl::shared_ptr< IInput > input) FL_NOEXCEPT
Centralized logging categories for FastLED hardware interfaces and subsystems.
@ None
No correction (flat response assumed)
constexpr remove_reference< T >::type && move(T &&t) FL_NOEXCEPT
shared_ptr< T > make_shared(Args &&... args) FL_NOEXCEPT
Base definition for an LED controller.
Aggregator header for the fl/ui/ family of per-element UI types.