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

◆ remove() [2/2]

FL_MAYBE_UNUSED void CFastLED::remove ( fl::shared_ptr< fl::audio::Processor > processor)
static

Remove the audio processor.

Clears the stored audio processor if it matches the given processor. If this was the last shared_ptr, the processor and its associated mic/task will be destroyed via RAII.

Parameters
processorShared pointer to an Processor instance
Note
Safe to call multiple times - no-op if processor doesn't match

Definition at line 963 of file FastLED.cpp.hpp.

963 {
965}
void remove(shared_ptr< Processor > processor) FL_NO_EXCEPT
static AudioManager & instance() FL_NO_EXCEPT
constexpr remove_reference< T >::type && move(T &&t) FL_NO_EXCEPT
Definition move.h:30

References FL_NO_EXCEPT, fl::audio::AudioManager::instance(), fl::adl_barrier::move(), and fl::audio::AudioManager::remove().

+ Here is the call graph for this function: