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

◆ ensure_audio_channels()

void MayaFlux::Buffers::BufferAccessControl::ensure_audio_channels ( ProcessingToken  token,
uint32_t  channel_count 
)

Ensures minimum number of audio channels exist for a token.

Parameters
tokenProcessing domain
channel_countMinimum number of channels to ensure

Definition at line 55 of file BufferAccessControl.cpp.

56{
57 m_unit_manager.ensure_audio_channels(token, channel_count);
58}
TokenUnitManager & m_unit_manager
Reference to the token/unit manager for storage operations.
void ensure_audio_channels(ProcessingToken token, uint32_t channel_count)
Ensures an audio unit exists and resizes it to the specified channel count.

References MayaFlux::Buffers::TokenUnitManager::ensure_audio_channels(), and m_unit_manager.

Referenced by add_audio_buffer(), MayaFlux::Buffers::BufferProcessingControl::connect_node_to_audio_channel(), and get_audio_processing_chain().

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