MayaFlux 0.2.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{
58}
static MayaFlux::Nodes::ProcessingToken token
Definition Timers.cpp:8
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(), m_unit_manager, and token.

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: