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 103 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 114 of file graph_node.h.

◆ fader

Fader* GraphNode::fader

Fader, if fader.

Definition at line 134 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 108 of file graph_node.h.

◆ hw_processor

HardwareProcessor* GraphNode::hw_processor

Hardware processor, if hardware processor.

Definition at line 145 of file graph_node.h.

◆ id

int GraphNode::id

Definition at line 105 of file graph_node.h.

◆ init_refcount

gint GraphNode::init_refcount

Initial incoming node count.

Definition at line 121 of file graph_node.h.

◆ initial

bool GraphNode::initial

Definition at line 153 of file graph_node.h.

◆ modulator_macro_processor

ModulatorMacroProcessor* GraphNode::modulator_macro_processor

Definition at line 147 of file graph_node.h.

◆ n_childnodes

int GraphNode::n_childnodes

Definition at line 115 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 125 of file graph_node.h.

◆ pl

Plugin* GraphNode::pl

Plugin, if plugin.

Definition at line 131 of file graph_node.h.

◆ playback_latency

nframes_t GraphNode::playback_latency

The playback latency of the node, in samples.

Definition at line 157 of file graph_node.h.

◆ port

Port* GraphNode::port

Port, if not a plugin or fader.

Definition at line 128 of file graph_node.h.

◆ prefader

Fader* GraphNode::prefader

Pre-Fader, if prefader node.

Definition at line 139 of file graph_node.h.

◆ refcount

gint GraphNode::refcount

Incoming node count.

Definition at line 118 of file graph_node.h.

◆ route_playback_latency

nframes_t GraphNode::route_playback_latency

The route's playback latency so far.

Definition at line 160 of file graph_node.h.

◆ sample_processor

SampleProcessor* GraphNode::sample_processor

Sample processor, if sample processor.

Definition at line 142 of file graph_node.h.

◆ send

ChannelSend* GraphNode::send

Definition at line 149 of file graph_node.h.

◆ terminal

bool GraphNode::terminal

For debugging.

Definition at line 152 of file graph_node.h.

◆ track

Track* GraphNode::track

Definition at line 136 of file graph_node.h.

◆ type

GraphNodeType GraphNode::type

Definition at line 162 of file graph_node.h.


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