audio/marker_track.h file

Object to hold information for the Marker track.



using MarkerTrack = struct Track
MarkerTrack is just a Track.


auto marker_track_default(int track_pos) -> MarkerTrack*
Creates the default marker track.
void marker_track_init(Track* track)
Inits the marker track.
void marker_track_insert_marker(MarkerTrack* self, Marker* marker, int pos)
Inserts a marker to the track.
void marker_track_add_marker(MarkerTrack* self, Marker* marker)
Adds a marker to the track.
void marker_track_clear(MarkerTrack* self)
Removes all objects from the marker track.
void marker_track_remove_marker(MarkerTrack* self, Marker* marker, int free)
Removes a marker, optionally freeing it.
auto marker_track_get_start_marker(const Track* track) -> Marker*
Returns the start marker.
auto marker_track_get_end_marker(const Track* track) -> Marker*
Returns the end marker.