|
Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
|
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, Channel &ch, dsp::PortUuidReference track_processor_output) |
| Adds connections for the nodes already in the graph. | |
| template<dsp::FinalPortSubclass T> | |
| static void | add_connection_for_ports (dsp::graph::Graph &graph, const T &src_port, const T &dest_port) |
| Adds a connection to the graph for the given ports. | |
| static bool | connect_like_ports (dsp::graph::Graph &graph, const RangeOf< dsp::PortUuidReference > auto &src_refs, const RangeOf< dsp::PortUuidReference > auto &dest_refs) |
| Connects ports of the same type in the given source and destination ranges. | |
A helper class to add nodes and standard connections for a channel to a DSP graph.
Definition at line 15 of file channel_subgraph_builder.h.
|
inlinestatic |
Adds a connection to the graph for the given ports.
| graph | |
| src_ref | |
| dest_ref |
Definition at line 48 of file channel_subgraph_builder.h.
|
static |
Adds connections for the nodes already in the graph.
This requires add_nodes() to be called beforehand.
track_processor_output must be added to the graph before calling this.| graph | |
| ch | |
| track_processor_output | Track processor output to connect to the channel's input (or the first plugin). |
|
inlinestatic |
Connects ports of the same type in the given source and destination ranges.
Definition at line 66 of file channel_subgraph_builder.h.