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

◆ get_audio_channel_root()

MAYAFLUX_API Nodes::RootNode & MayaFlux::get_audio_channel_root ( uint32_t  channel = 0)

Gets the root node for a specific channel.

Parameters
channelChannel index
Returns
The root node for the specified channel

The root node is the top-level node in the processing hierarchy for a channel. Uses the default engine's node graph manager.

Definition at line 67 of file Graph.cpp.

68{
69 return *get_context().get_node_graph_manager()->get_all_root_nodes(Nodes::ProcessingToken::AUDIO_RATE)[channel];
70}
std::shared_ptr< Nodes::NodeGraphManager > get_node_graph_manager()
Gets the node graph manager.
Definition Engine.hpp:229
Core::Engine & get_context()
Gets the default engine instance.
Definition Core.cpp:56

References MayaFlux::Nodes::AUDIO_RATE, get_context(), and MayaFlux::Core::Engine::get_node_graph_manager().

+ Here is the call graph for this function: