Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
audio_bus_track.h
1// SPDX-FileCopyrightText: © 2018-2020, 2024-2025 Alexandros Theodotou <alex@zrythm.org>
2// SPDX-License-Identifier: LicenseRef-ZrythmLicense
3
4#pragma once
5
6#include "structure/tracks/track.h"
7
8namespace zrythm::structure::tracks
9{
13class AudioBusTrack : public Track
14{
15public:
16 Q_OBJECT
17 QML_ELEMENT
18 QML_UNCREATABLE ("")
19
20public:
21 AudioBusTrack (FinalTrackDependencies dependencies);
22
23 friend void init_from (
24 AudioBusTrack &obj,
25 const AudioBusTrack &other,
26 utils::ObjectCloneType clone_type);
27
28private:
29 friend void to_json (nlohmann::json &j, const AudioBusTrack &track)
30 {
31 to_json (j, static_cast<const Track &> (track));
32 }
33 friend void from_json (const nlohmann::json &j, AudioBusTrack &track)
34 {
35 from_json (j, static_cast<Track &> (track));
36 }
37};
38}
Track(Type type, PortType in_signal_type, PortType out_signal_type, TrackFeatures enabled_features, BaseTrackDependencies dependencies)
Constructor to be used by subclasses.