Zrythm
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
foldable_track.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: © 2021 Alexandros Theodotou <alex@zrythm.org>
2// SPDX-License-Identifier: LicenseRef-ZrythmLicense
3
10#ifndef __AUDIO_FOLDABLE_TRACK_H__
11#define __AUDIO_FOLDABLE_TRACK_H__
12
13typedef struct Track Track;
14
15enum class FoldableTrackMixerStatus
16{
17 FOLDABLE_TRACK_MIXER_STATUS_MUTED,
18 FOLDABLE_TRACK_MIXER_STATUS_SOLOED,
19 FOLDABLE_TRACK_MIXER_STATUS_IMPLIED_SOLOED,
20 FOLDABLE_TRACK_MIXER_STATUS_LISTENED,
21};
22
23void
24foldable_track_init (Track * track);
25
29bool
30foldable_track_is_status (Track * self, FoldableTrackMixerStatus status);
31
36bool
38
43bool
45
52void
54
55#endif /* __AUDIO_FOLDABLE_TRACK_H__ */
bool foldable_track_is_direct_child(Track *self, Track *child)
Returns whether child is a folder child of self.
bool foldable_track_is_status(Track *self, FoldableTrackMixerStatus status)
Used to check if soloed/muted/etc.
bool foldable_track_is_child(Track *self, Track *child)
Returns whether child is a folder child of self.
void foldable_track_add_to_size(Track *self, int delta)
Adds to the size recursively.
Track to be inserted into the Project's Tracklist.
Definition track.h:177