audio/graph_node.h file

Contents

Routing graph node.

Classes

struct GraphNode
A node in the processing graph.

Enums

enum GraphNodeType { ROUTE_NODE_TYPE_PORT, ROUTE_NODE_TYPE_PLUGIN, ROUTE_NODE_TYPE_TRACK, ROUTE_NODE_TYPE_FADER, ROUTE_NODE_TYPE_MONITOR_FADER, ROUTE_NODE_TYPE_PREFADER, ROUTE_NODE_TYPE_SAMPLE_PROCESSOR, ROUTE_NODE_TYPE_INITIAL_PROCESSOR }
Graph nodes can be either ports or processors.

Typedefs

using GraphNode = struct GraphNode
A node in the processing graph.
using GraphNodeType = enum GraphNodeType
Graph nodes can be either ports or processors.

Functions

auto graph_node_get_name(GraphNode* node) -> char*
Returns a human friendly name of the node.
void graph_node_process(GraphNode* node, const nframes_t nframes)
Processes the GraphNode.
auto graph_node_get_single_playback_latency(GraphNode* node) -> nframes_t
Returns the latency of only the given port, without adding the previous/next latencies.
void graph_node_set_route_playback_latency(GraphNode* node, nframes_t dest_latency)
Sets the playback latency of the given node recursively.
void graph_node_trigger(GraphNode* self)
Called by an upstream node when it has completed processing.