audio/tracklist.h file

Tracklist backend.

Contents

Classes

struct Tracklist
The Tracklist contains all the tracks in the Project.

Typedefs

using Tracklist = struct Tracklist
The Tracklist contains all the tracks in the Project.

Functions

void tracklist_init_loaded(Tracklist* self)
Initializes the tracklist when loading a project.
void tracklist_get_visible_tracks(Tracklist* self, Track** visible_tracks, int* num_visible)
Finds visible tracks and puts them in given array.
void tracklist_print_tracks(Tracklist* self)
Prints the tracks (for debugging).
void tracklist_insert_track(Tracklist* self, Track* track, int pos, int publish_events, int recalc_graph)
Adds given track to given spot in tracklist.
void tracklist_remove_track(Tracklist* self, Track* track, int rm_pl, int free, int publish_events, int recalc_graph)
Removes a track from the Tracklist and the TracklistSelections.
void tracklist_move_track(Tracklist* self, Track* track, int pos, int publish_events, int recalc_graph)
Moves a track from its current position to the position given by pos.
void tracklist_append_track(Tracklist* self, Track* track, int publish_events, int recalc_graph)
Calls tracklist_insert_track with the given options.
static auto tracklist_track_name_is_unique(Tracklist* self, const char* name) -> int
Returns 1 if the track name is not taken.