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

◆ remove_processor() [3/3]

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

Removes a processor from all buffers in a specific channel.

Parameters
processorProcessor to remove
tokenProcessing domain
channelChannel index

Removes the processor from all buffers associated with the specified channel in the given processing domain. Uses the default engine's buffer manager.

Definition at line 173 of file Graph.cpp.

174{
175 get_buffer_manager()->remove_processor_from_channel(processor, token, channel);
176}
std::shared_ptr< Buffers::BufferManager > get_buffer_manager()
Gets the buffer manager from the default engine.
Definition Graph.cpp:148

References get_buffer_manager().

+ Here is the call graph for this function: