14#include "platforms/ui_defs.h"
16#ifndef FASTLED_HAS_UI_AUDIO
17#define FASTLED_HAS_UI_AUDIO 0
22#if !FASTLED_HAS_UI_AUDIO
37 FL_WARN(
"Audio sample not implemented");
42 FL_WARN(
"Audio sample not implemented");
84 mImpl.setGroup(groupName);
First-class asset handles for sketches that live under <sketch>/data/.
fl::shared_ptr< audio::Processor > processor() FL_NOEXCEPT
fl::shared_ptr< audio::IInput > audioInput() FL_NOEXCEPT
bool hasNext() FL_NOEXCEPT
fl::shared_ptr< audio::Processor > mProcessor
audio::Sample next() FL_NOEXCEPT
FL_NO_COPY(UIAudio) UIAudio(const fl UIAudio(const fl::string &name, const fl::url &url) FL_NOEXCEPT
const fl::optional< audio::Config > & config() const FL_NOEXCEPT
void setGroup(const fl::string &groupName) FL_NOEXCEPT override
fl::optional< audio::Config > mConfig
void setGroup(const fl::string &groupName)
UIAudioImpl(const fl::string &name)
UIAudioImpl(const fl::string &name, const fl::audio::Config &config)
UIAudioImpl(const fl::string &name, const fl::url &url)
~UIAudioImpl() FL_NOEXCEPT
fl::shared_ptr< audio::IInput > audioInput()
virtual void setGroup(const fl::string &groupName) FL_NOEXCEPT
Opaque handle to a sketch-local asset.
#define FL_NO_COPY(CLASS)
Centralized logging categories for FastLED hardware interfaces and subsystems.
constexpr asset_ref asset(const char *path) FL_NOEXCEPT
Construct an asset handle from a relative sketch path at runtime.
Base definition for an LED controller.
#define FASTLED_UNUSED(x)
Lightweight URL parser for embedded environments.