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

◆ attach_quick_process() [3/5]

std::shared_ptr< BufferProcessor > MayaFlux::Buffers::BufferProcessingControl::attach_quick_process ( AudioProcessingFunction  processor,
ProcessingToken  token,
uint32_t  channel 
)

Creates and attaches a quick processing function to an audio token/channel.

Parameters
processorProcessing function
tokenProcessing domain
channelChannel index
Returns
Shared pointer to the created processor

Definition at line 249 of file BufferProcessingControl.cpp.

253{
254 auto quick_process = std::make_shared<QuickProcess<AudioProcessingFunction>>(std::move(processor));
255 add_audio_processor_to_channel(quick_process, token, channel);
256 return quick_process;
257}
static MayaFlux::Nodes::ProcessingToken token
Definition Timers.cpp:8
void add_audio_processor_to_channel(const std::shared_ptr< BufferProcessor > &processor, ProcessingToken token, uint32_t channel)
Adds a processor to a specific audio token and channel.

References add_audio_processor_to_channel(), and token.

+ Here is the call graph for this function: