FastLED 3.9.15
Loading...
Searching...
No Matches

◆ setAudio()

void fl::FxEngine::setAudio ( fl::shared_ptr< fl::audio::Processor > proc)

Connects an audio processor for automatic audio delivery.

Each draw() polls the processor's current levels and pushes one AudioFrame. Wire once in setup(), forget about it.

Definition at line 22 of file fx_engine.cpp.hpp.

22 {
24}
fl::shared_ptr< fl::audio::Processor > mAudioProcessor
Definition fx_engine.h:151
constexpr remove_reference< T >::type && move(T &&t) FL_NOEXCEPT
Definition s16x16x4.h:28

References mAudioProcessor, and fl::fl::move().

+ Here is the call graph for this function: