Zrythm
a highly automated and intuitive digital audio workstation
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
foldable_track.h File Reference

Common logic for foldable tracks. More...

Go to the source code of this file.

Enumerations

enum class  FoldableTrackMixerStatus { FOLDABLE_TRACK_MIXER_STATUS_MUTED , FOLDABLE_TRACK_MIXER_STATUS_SOLOED , FOLDABLE_TRACK_MIXER_STATUS_IMPLIED_SOLOED , FOLDABLE_TRACK_MIXER_STATUS_LISTENED }
 

Functions

void foldable_track_init (Track *track)
 
bool foldable_track_is_status (Track *self, FoldableTrackMixerStatus status)
 Used to check if soloed/muted/etc.
 
bool foldable_track_is_direct_child (Track *self, Track *child)
 Returns whether child is a folder child of self.
 
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.
 

Detailed Description

Common logic for foldable tracks.

Definition in file foldable_track.h.

Enumeration Type Documentation

◆ FoldableTrackMixerStatus

enum class FoldableTrackMixerStatus
strong

Definition at line 15 of file foldable_track.h.

Function Documentation

◆ foldable_track_add_to_size()

void foldable_track_add_to_size ( Track * self,
int delta )

Adds to the size recursively.

This must only be called from the lowest-level foldable track.