MayaFlux 0.2.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ setup_processors()

void MayaFlux::Buffers::NodeBuffer::setup_processors ( ProcessingToken  token)
overridevirtual

Sets up audio processors for the specified processing token.

Parameters
tokenProcessing token indicating the domain

This is useful to avoid calling shared_from_this() in constructors of derived classes. Derived audio buffer types can override this method to attach audio-specific processors based on the processing token.

Reimplemented from MayaFlux::Buffers::AudioBuffer.

Definition at line 68 of file NodeBuffer.cpp.

69{
71 m_default_processor->on_attach(shared_from_this());
72}
std::shared_ptr< BufferProcessor > m_default_processor
Default audio transformation processor for this buffer.
std::shared_ptr< BufferProcessor > create_default_processor() override
Creates the default processor for this buffer type.

References create_default_processor(), and MayaFlux::Buffers::AudioBuffer::m_default_processor.

+ Here is the call graph for this function: