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

◆ add_processor() [2/3]

MAYAFLUX_API void MayaFlux::add_processor ( const std::shared_ptr< Buffers::BufferProcessor > &  processor,
Buffers::ProcessingToken  token = Buffers::ProcessingToken::AUDIO_BACKEND 
)

Adds a processor to all buffers in a processing domain.

Parameters
processorProcessor to add
tokenProcessing domain

Adds the processor to all buffers associated with the given processing domain. Uses the default engine's buffer manager.

Definition at line 148 of file Graph.cpp.

149{
150 get_buffer_manager()->add_processor(processor, token);
151}
std::shared_ptr< Buffers::BufferManager > get_buffer_manager()
Gets the buffer manager from the default engine.
Definition Graph.cpp:133

References get_buffer_manager().

+ Here is the call graph for this function: