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

◆ set_final_processor()

void MayaFlux::Buffers::BufferProcessingControl::set_final_processor ( const std::shared_ptr< BufferProcessor > &  processor,
ProcessingToken  token 
)

Sets a final processor for a token (dispatches based on token)

Parameters
processorFinal processor to apply
tokenProcessing domain

Definition at line 95 of file BufferProcessingControl.cpp.

98{
100 set_audio_final_processor(processor, token);
101 } else if (token == ProcessingToken::GRAPHICS_BACKEND) {
102 set_graphics_final_processor(processor, token);
103 }
104}
void set_audio_final_processor(const std::shared_ptr< BufferProcessor > &processor, ProcessingToken token)
Sets a final processor for an audio token (applied to all channels)
void set_graphics_final_processor(const std::shared_ptr< BufferProcessor > &processor, ProcessingToken token)
Sets a final processor for 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, set_audio_final_processor(), and set_graphics_final_processor().

+ Here is the call graph for this function: