audio/track_lane.h file

Track lanes for each track.

Contents

Classes

struct TrackLane
A TrackLane belongs to a Track (can have many TrackLanes in a Track) and contains Regions.

Typedefs

using TrackLane = struct TrackLane
A TrackLane belongs to a Track (can have many TrackLanes in a Track) and contains Regions.

Functions

void track_lane_init_loaded(TrackLane* lane)
Inits the TrackLane after a project was loaded.
auto track_lane_new(Track* track, int pos) -> TrackLane*
Creates a new TrackLane at the given pos in the given Track.
void track_lane_add_region(TrackLane* self, Region* region)
Adds a Region to the given TrackLane.
void track_lane_update_frames(TrackLane* self)
Updates the frames of each position in each child of the track recursively.
void track_lane_set_track_pos(TrackLane* self, const int pos, const int set_pointers)
Sets the track position to the lane and all its members recursively.
auto track_lane_clone(TrackLane* lane) -> TrackLane*
Clones the TrackLane.
void track_lane_write_to_midi_file(const TrackLane* self, MIDI_FILE* mf)
Writes the lane to the given MIDI file.
void track_lane_free(TrackLane* lane)
Frees the TrackLane.