Zrythm
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
GraphNode Struct Reference

A node in the processing graph. More...

#include <dsp/graph_node.h>

Collaboration diagram for GraphNode:

Data Fields

int id
 
Graphgraph
 Ref back to the graph so we don't have to pass it around.
 
GraphNode ** childnodes
 outgoing edges downstream nodes to activate when this node has completed processed
 
int n_childnodes
 
gint refcount
 Incoming node count.
 
gint init_refcount
 Initial incoming node count.
 
GraphNode ** parentnodes
 Used when creating the graph so we can traverse it backwards to set the latencies.
 
Portport
 Port, if not a plugin or fader.
 
Pluginpl
 Plugin, if plugin.
 
Faderfader
 Fader, if fader.
 
Tracktrack
 
Faderprefader
 Pre-Fader, if prefader node.
 
SampleProcessorsample_processor
 Sample processor, if sample processor.
 
HardwareProcessorhw_processor
 Hardware processor, if hardware processor.
 
ModulatorMacroProcessormodulator_macro_processor
 
ChannelSendsend
 
bool terminal
 For debugging.
 
bool initial
 
nframes_t playback_latency
 The playback latency of the node, in samples.
 
nframes_t route_playback_latency
 The route's playback latency so far.
 
GraphNodeType type
 

Detailed Description

A node in the processing graph.

Definition at line 105 of file graph_node.h.

Field Documentation

◆ childnodes

GraphNode** GraphNode::childnodes

outgoing edges downstream nodes to activate when this node has completed processed

Definition at line 116 of file graph_node.h.

◆ fader

Fader* GraphNode::fader

Fader, if fader.

Definition at line 136 of file graph_node.h.

◆ graph

Graph* GraphNode::graph

Ref back to the graph so we don't have to pass it around.

Definition at line 110 of file graph_node.h.

◆ hw_processor

HardwareProcessor* GraphNode::hw_processor

Hardware processor, if hardware processor.

Definition at line 147 of file graph_node.h.

◆ id

int GraphNode::id

Definition at line 107 of file graph_node.h.

◆ init_refcount

gint GraphNode::init_refcount

Initial incoming node count.

Definition at line 123 of file graph_node.h.

◆ initial

bool GraphNode::initial

Definition at line 155 of file graph_node.h.

◆ modulator_macro_processor

ModulatorMacroProcessor* GraphNode::modulator_macro_processor

Definition at line 149 of file graph_node.h.

◆ n_childnodes

int GraphNode::n_childnodes

Definition at line 117 of file graph_node.h.

◆ parentnodes

GraphNode** GraphNode::parentnodes

Used when creating the graph so we can traverse it backwards to set the latencies.

Definition at line 127 of file graph_node.h.

◆ pl

Plugin* GraphNode::pl

Plugin, if plugin.

Definition at line 133 of file graph_node.h.

◆ playback_latency

nframes_t GraphNode::playback_latency

The playback latency of the node, in samples.

Definition at line 159 of file graph_node.h.

◆ port

Port* GraphNode::port

Port, if not a plugin or fader.

Definition at line 130 of file graph_node.h.

◆ prefader

Fader* GraphNode::prefader

Pre-Fader, if prefader node.

Definition at line 141 of file graph_node.h.

◆ refcount

gint GraphNode::refcount

Incoming node count.

Definition at line 120 of file graph_node.h.

◆ route_playback_latency

nframes_t GraphNode::route_playback_latency

The route's playback latency so far.

Definition at line 162 of file graph_node.h.

◆ sample_processor

SampleProcessor* GraphNode::sample_processor

Sample processor, if sample processor.

Definition at line 144 of file graph_node.h.

◆ send

ChannelSend* GraphNode::send

Definition at line 151 of file graph_node.h.

◆ terminal

bool GraphNode::terminal

For debugging.

Definition at line 154 of file graph_node.h.

◆ track

Track* GraphNode::track

Definition at line 138 of file graph_node.h.

◆ type

GraphNodeType GraphNode::type

Definition at line 164 of file graph_node.h.


The documentation for this struct was generated from the following file: