audio/marker.h file

Marker related code.

Contents

Classes

struct Marker
Marker for the MarkerTrack.

Enums

enum MarkerType { MARKER_TYPE_START, MARKER_TYPE_END, MARKER_TYPE_CUSTOM }
Marker type.

Typedefs

using MarkerType = enum MarkerType
Marker type.
using Marker = struct Marker
Marker for the MarkerTrack.

Functions

auto marker_new(const char* name, int is_main) -> Marker*
Creates a Marker.
auto marker_is_equal(Marker* a, Marker* b) -> int
Returns if the two Marker's are equal.
void marker_set_track(Marker* marker, Track* track)
Sets the Track of the Marker.
void marker_set_name(Marker* marker, const char* name)
Sets the name to all the Marker's counterparts.
void marker_update_frames(Marker* self)
Updates the frames of each position in each child of the Marker recursively.
auto marker_find(Marker* clone) -> Marker*
Finds the marker in the project corresponding to the given one.
void marker_free(Marker* self)
Frees the Marker.

Defines

#define marker_get_main_marker(r)
Gets the main counterpart of the Marker.
#define marker_get_main_trans_marker(r)
Gets the transient counterpart of the Marker.