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

◆ process_audio_token_default()

void MayaFlux::Buffers::BufferManager::process_audio_token_default ( ProcessingToken  token,
uint32_t  processing_units 
)
private

Definition at line 424 of file BufferManager.cpp.

425{
426 if (!m_unit_manager->has_audio_unit(token)) {
427 return;
428 }
429
430 auto& unit = m_unit_manager->get_audio_unit_mutable(token);
431
432 if (unit.custom_processor) {
433 unit.custom_processor(unit.root_buffers, processing_units);
434 return;
435 }
436
437 for (uint32_t channel = 0; channel < unit.channel_count; ++channel) {
438 process_channel(token, channel, processing_units);
439 }
440}
static MayaFlux::Nodes::ProcessingToken token
Definition Timers.cpp:8
std::unique_ptr< TokenUnitManager > m_unit_manager
Token/unit storage and lifecycle.
void process_channel(ProcessingToken token, uint32_t channel, uint32_t processing_units, const std::vector< double > &node_output_data={})
Processes a specific channel within a token domain.

References m_unit_manager, process_channel(), and token.

Referenced by process_token().

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