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

◆ NodeGraphManager() [1/3]

MayaFlux::Nodes::NodeGraphManager::NodeGraphManager ( uint32_t  sample_rate = 48000,
uint32_t  block_size = 512 
)

Creates a new NodeGraphManager.

Parameters
sample_rateSample rate for audio processing (default: 48000 Hz)
block_sizeBlock size for audio processing (default: 512 samples)

Initializes the manager with a root node for channel 0 (the default channel) in the AUDIO_RATE domain. Additional root nodes for other tokens and channels are created on demand when accessed.

Definition at line 11 of file NodeGraphManager.cpp.

12 : m_registered_sample_rate(sample_rate)
13 , m_registered_block_size(block_size)
14{
16}
uint32_t m_registered_block_size
Block size for audio processing, used for normalizationbuffer.
uint32_t m_registered_sample_rate
Sample rate for audio processing, used for normalization.
void ensure_root_exists(ProcessingToken token, unsigned int channel)
Ensures a root node exists for the given token and channel.
@ AUDIO_RATE
Nodes that process at the audio sample rate.

References MayaFlux::Nodes::AUDIO_RATE, and ensure_root_exists().

+ Here is the call graph for this function: