|
MayaFlux 0.3.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::route_network | ( | const std::shared_ptr< Nodes::Network::NodeNetwork > & | network, |
| 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
| network | NodeNetwork 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 network to 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 188 of file Graph.cpp.
References get_node_graph_manager().
Here is the call graph for this function: