|
MayaFlux 0.3.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_API void MayaFlux::route_node | ( | const std::shared_ptr< Nodes::Node > & | node, |
| const std::vector< uint32_t > & | channels, | ||
| double | seconds_to_fade = 1.F, |
||
| 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 |
| seconds_to_fade | Time in seconds to fade the routing (optional, default is 1 second) |
| 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 seconds_to_fade is greater than 0, the routing will be smoothly faded in over that time period.
Definition at line 110 of file Graph.cpp.
References get_node_graph_manager(), and seconds_to_samples().
Here is the call graph for this function: