|
MayaFlux 0.3.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Nodes::update_routing_state | ( | RoutingState & | state | ) |
Updates the routing state for a node based on its current channel usage.
| state | The routing state to update |
This function evaluates the current channel usage of a node and updates the routing state accordingly. It manages transitions between different routing phases (such as fade-in and fade-out(Active)) based on changes in channel counts, ensuring smooth audio output during dynamic reconfigurations of the processing graph.
Definition at line 161 of file NodeUtils.cpp.
References MayaFlux::Nodes::RoutingState::amount, MayaFlux::Nodes::RoutingState::COMPLETED, MayaFlux::Nodes::RoutingState::cycles_elapsed, MayaFlux::Nodes::RoutingState::fade_cycles, MayaFlux::Nodes::RoutingState::from_channels, MayaFlux::Nodes::RoutingState::NONE, and MayaFlux::Nodes::RoutingState::to_channels.
Referenced by MayaFlux::Nodes::NodeGraphManager::update_routing_states_for_cycle().
Here is the caller graph for this function: