FastLED 3.9.15
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 764 of file FastLED.cpp.hpp.

764 {
766}
static AudioManager & instance() FL_NOEXCEPT
void remove(shared_ptr< Processor > processor) FL_NOEXCEPT
constexpr remove_reference< T >::type && move(T &&t) FL_NOEXCEPT
Definition move.h:28

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

+ Here is the call graph for this function: