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

◆ setup_processors()

void MayaFlux::Buffers::NetworkAudioBuffer::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 136 of file NetworkAudioBuffer.cpp.

137{
139 m_default_processor->on_attach(shared_from_this());
140}
std::shared_ptr< BufferProcessor > m_default_processor
Default audio transformation processor for this buffer.
std::shared_ptr< BufferProcessor > create_default_processor() override
Creates a default audio transformation processor for this buffer type.

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

+ Here is the call graph for this function: