audio/foldable_track.h file

Common logic for foldable tracks.

Contents

Functions

auto foldable_track_is_status(Track* self, FoldableTrackMixerStatus status) -> bool
Used to check if soloed/muted/etc.
auto foldable_track_is_direct_child(Track* self, Track* child) -> bool
Returns whether child is a folder child of self.
auto foldable_track_is_child(Track* self, Track* child) -> bool
Returns whether child is a folder child of self.
void foldable_track_add_to_size(Track* self, int delta)
Adds to the size recursively.

Function documentation

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.