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

◆ RootAudioBuffer()

MayaFlux::Buffers::RootAudioBuffer::RootAudioBuffer ( uint32_t  channel_id,
uint32_t  num_samples = 512 
)

Creates a new root aggregation buffer for a channel.

Parameters
channel_idChannel identifier in multi-channel systems
num_samplesBuffer capacity in samples (default: 512)

Initializes a root buffer with the specified channel ID and capacity. The buffer is automatically configured with a ChannelProcessor as its default processor for data aggregation.

Definition at line 81 of file RootAudioBuffer.cpp.

82 : RootBuffer<AudioBuffer>(channel_id, num_samples)
83 , m_has_node_output(false)
84{
87}
bool m_has_node_output
Flag indicating if node network output data is present.
ProcessingToken m_preferred_processing_token
Preferred processing token for this root buffer.
TokenEnforcementStrategy m_token_enforcement_strategy
Current token enforcement strategy for this root buffer.
@ AUDIO_BACKEND
Standard audio processing backend configuration.
@ STRICT
Strictly enforces token assignment with no cross-token sharing.

References MayaFlux::Buffers::AUDIO_BACKEND, MayaFlux::Buffers::RootBuffer< AudioBuffer >::m_preferred_processing_token, MayaFlux::Buffers::RootBuffer< AudioBuffer >::m_token_enforcement_strategy, and MayaFlux::Buffers::STRICT.