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/.
audio::Sample next() FL_NO_EXCEPT
FL_NO_COPY(UIAudio) UIAudio(const fl UIAudio(const fl::string &name, const fl::url &url) FL_NO_EXCEPT
bool hasNext() FL_NO_EXCEPT
fl::shared_ptr< audio::IInput > audioInput() FL_NO_EXCEPT
const fl::optional< audio::Config > & config() const FL_NO_EXCEPT
void setGroup(const fl::string &groupName) FL_NO_EXCEPT override
fl::shared_ptr< audio::Processor > mProcessor
fl::shared_ptr< audio::Processor > processor() FL_NO_EXCEPT
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)
fl::shared_ptr< audio::IInput > audioInput()
~UIAudioImpl() FL_NO_EXCEPT
virtual void setGroup(const fl::string &groupName) FL_NO_EXCEPT
Opaque handle to a sketch-local asset.
#define FASTLED_UNUSED(x)
#define FL_NO_COPY(CLASS)
Centralized logging categories for FastLED hardware interfaces and subsystems.
u8 u8 fract8 blur_amount FL_NO_EXCEPT
constexpr asset_ref asset(const char *path) FL_NO_EXCEPT
Construct an asset handle from a relative sketch path at runtime.
Base definition for an LED controller.
Lightweight URL parser for embedded environments.