Zrythm
v2.0.0-DEV
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
channel_subgraph_builder.h
1
// SPDX-FileCopyrightText: © 2025 Alexandros Theodotou <alex@zrythm.org>
2
// SPDX-License-Identifier: LicenseRef-ZrythmLicense
3
4
#pragma once
5
6
#include "dsp/graph.h"
7
#include "dsp/port_all.h"
8
#include "structure/tracks/channel.h"
9
10
namespace
zrythm::structure::tracks
11
{
16
class
ChannelSubgraphBuilder
17
{
18
public
:
19
static
void
add_nodes (
dsp::graph::Graph
&graph,
Channel
&ch);
20
34
static
void
add_connections
(
35
dsp::graph::Graph
&graph,
36
dsp::PortRegistry &port_registry,
37
Channel
&ch,
38
dsp::PortUuidReference track_processor_output);
39
};
40
}
// namespace zrythm::structure::tracks
zrythm::dsp::graph::Graph
The Graph class represents a graph of DSP nodes.
Definition
graph.h:20
zrythm::structure::tracks::ChannelSubgraphBuilder
A helper class to add nodes and standard connections for a channel to a DSP graph.
Definition
channel_subgraph_builder.h:17
zrythm::structure::tracks::ChannelSubgraphBuilder::add_connections
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.
zrythm::structure::tracks::Channel
Represents a channel strip on the mixer.
Definition
channel.h:57
src
structure
tracks
channel_subgraph_builder.h
Generated by
1.15.0