|
MayaFlux 0.3.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::route_node | ( | const std::shared_ptr< Nodes::Node > & | node, |
| const std::vector< uint32_t > & | channels, | ||
| uint32_t | num_samples, | ||
| const Nodes::ProcessingToken & | token = Nodes::ProcessingToken::AUDIO_RATE |
||
| ) |
@breif Moves the node from its current channel(s) to the specified channel(s) with an optional fade time
| node | Node to route |
| channels | Vector of channel indices to route the node to |
| num_samples | Number of samples to fade the routing over (optional, default is 48000 samples for 1 second at 48kHz) |
| token | Processing domain to route within (default is AUDIO_RATE) |
This method adds the specified node to the root nodes of the target channels within the given processing domain. If num_samples is greater than 0, the routing will be smoothly faded in over that many samples.
Definition at line 101 of file Graph.cpp.
References get_node_graph_manager().
Here is the call graph for this function: