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

◆ get_audio_processing_chain()

std::shared_ptr< BufferProcessingChain > MayaFlux::Buffers::BufferAccessControl::get_audio_processing_chain ( ProcessingToken  token,
uint32_t  channel 
)

Gets the processing chain for an audio token and channel.

Parameters
tokenProcessing domain
channelChannel index
Returns
Shared pointer to the processing chain

Definition at line 325 of file BufferAccessControl.cpp.

328{
329 ensure_audio_channels(token, channel + 1);
331 return unit.get_chain(channel);
332}
static MayaFlux::Nodes::ProcessingToken token
Definition Timers.cpp:8
void ensure_audio_channels(ProcessingToken token, uint32_t channel_count)
Ensures minimum number of audio channels exist for a token.
TokenUnitManager & m_unit_manager
Reference to the token/unit manager for storage operations.
RootAudioUnit & get_or_create_audio_unit(ProcessingToken token)
Gets or creates a root audio unit for the specified token.
std::shared_ptr< BufferProcessingChain > get_chain(uint32_t channel) const

References ensure_audio_channels(), MayaFlux::Buffers::RootAudioUnit::get_chain(), MayaFlux::Buffers::TokenUnitManager::get_or_create_audio_unit(), m_unit_manager, and token.

Referenced by MayaFlux::Buffers::BufferProcessingControl::add_audio_processor_to_channel().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: