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

◆ remove_processor()

void MayaFlux::Buffers::BufferProcessingControl::remove_processor ( const std::shared_ptr< BufferProcessor > &  processor,
const std::shared_ptr< Buffer > &  buffer,
ProcessingToken  token = ProcessingToken::AUDIO_BACKEND 
)

Removes a processor from a buffer (dispatches based on buffer/token)

Parameters
processorProcessor to remove
bufferTarget buffer
tokenProcessing domain (optional, used for routing)

Definition at line 65 of file BufferProcessingControl.cpp.

69{
71 if (auto audio_buffer = std::dynamic_pointer_cast<AudioBuffer>(buffer)) {
72 remove_audio_processor(processor, audio_buffer);
73 }
76 }
77}
static MayaFlux::Nodes::ProcessingToken token
Definition Timers.cpp:8
void remove_audio_processor(const std::shared_ptr< BufferProcessor > &processor, const std::shared_ptr< AudioBuffer > &buffer)
Removes a processor from a specific audio buffer.
void remove_graphics_processor(const std::shared_ptr< BufferProcessor > &processor, ProcessingToken token)
Removes a processor from the graphics processing chain.
@ AUDIO_BACKEND
Standard audio processing backend configuration.
@ GRAPHICS_BACKEND
Standard graphics processing backend configuration.
@ AUDIO_PARALLEL
High-performance audio processing with GPU acceleration.

References MayaFlux::Buffers::AUDIO_BACKEND, MayaFlux::Buffers::AUDIO_PARALLEL, MayaFlux::Buffers::GRAPHICS_BACKEND, remove_audio_processor(), remove_graphics_processor(), and token.

+ Here is the call graph for this function: