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

◆ remove_processor_from_token()

void MayaFlux::Buffers::BufferProcessingControl::remove_processor_from_token ( const std::shared_ptr< BufferProcessor > &  processor,
ProcessingToken  token,
uint32_t  channel = 0 
)

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

Parameters
processorProcessor to remove
tokenProcessing domain
channelChannel index (optional, used for audio tokens)

Definition at line 79 of file BufferProcessingControl.cpp.

83{
85 if (channel == 0) {
87 } else {
88 remove_audio_processor_from_channel(processor, token, channel);
89 }
92 }
93}
static MayaFlux::Nodes::ProcessingToken token
Definition Timers.cpp:8
void remove_audio_processor_from_token(const std::shared_ptr< BufferProcessor > &processor, ProcessingToken token)
Removes a processor from all channels in an audio token.
void remove_graphics_processor(const std::shared_ptr< BufferProcessor > &processor, ProcessingToken token)
Removes a processor from the graphics processing chain.
void remove_audio_processor_from_channel(const std::shared_ptr< BufferProcessor > &processor, ProcessingToken token, uint32_t channel)
Removes a processor from a specific audio token and channel.
@ 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_from_channel(), remove_audio_processor_from_token(), remove_graphics_processor(), and token.

+ Here is the call graph for this function: