FastLED 3.10.8
Loading...
Searching...
No Matches

◆ add() [2/3]

shared_ptr< Processor > fl::audio::AudioManager::add ( shared_ptr< IInput > input)

Definition at line 48 of file audio_manager.cpp.hpp.

48 {
49 if (!input) {
50 FL_WARN("Cannot add null audio input");
51 return nullptr;
52 }
53 input->start();
55 if (processor()) {
56 FL_WARN("Replacing existing audio processor");
57 }
58 processor() = proc;
59 return proc;
60}
shared_ptr< Processor > & processor() FL_NO_EXCEPT
static fl::shared_ptr< Processor > createWithAutoInput(fl::shared_ptr< IInput > input) FL_NO_EXCEPT
#define FL_WARN(...)
Definition log.h:437
constexpr remove_reference< T >::type && move(T &&t) FL_NO_EXCEPT
Definition move.h:30

References fl::audio::Processor::createWithAutoInput(), fl::FL_NO_EXCEPT, FL_WARN, fl::adl_barrier::move(), and processor().

+ Here is the call graph for this function: