Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
zrythm::structure::tracks::ChannelSubgraphBuilder Class Reference

A helper class to add nodes and standard connections for a channel to a DSP graph. More...

#include <src/structure/tracks/channel_subgraph_builder.h>

Static Public Member Functions

static void add_nodes (dsp::graph::Graph &graph, Channel &ch)
static void add_connections (dsp::graph::Graph &graph, dsp::PortRegistry &port_registry, Channel &ch, dsp::PortUuidReference track_processor_output)
 Adds connections for the nodes already in the graph.

Detailed Description

A helper class to add nodes and standard connections for a channel to a DSP graph.

Definition at line 16 of file channel_subgraph_builder.h.

Member Function Documentation

◆ add_connections()

void zrythm::structure::tracks::ChannelSubgraphBuilder::add_connections ( dsp::graph::Graph & graph,
dsp::PortRegistry & port_registry,
Channel & ch,
dsp::PortUuidReference track_processor_output )
static

Adds connections for the nodes already in the graph.

This requires add_nodes() to be called beforehand.

Note
track_processor_output must be added to the graph before calling this.
Parameters
graph
ch
track_processor_outputTrack processor output to connect to the channel's input (or the first plugin).

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