audio/marker_track.h file

Contents

Object to hold information for the Marker track.

Typedefs

using MarkerTrack = struct Track
MarkerTrack is just a Track.

Functions

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_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.