Function

Agstime_get_uptime_from_offset

since: 3.0.0

Declaration [src]

gchar*
ags_time_get_uptime_from_offset (
  guint offset,
  gdouble bpm,
  gdouble delay,
  gdouble delay_factor
)

Description [src]

Calculates uptime from offset by applying factors bpm, delay and delay_factor giving you the result as string.

Available since: 3.0.0

Parameters

offset

Type: guint

The offset in tics.

bpm

Type: gdouble

The beats per minute.

delay

Type: gdouble

The buffer time as delay.

delay_factor

Type: gdouble

Tact segmentation.

Return value

Type: gchar*

The string containing the time, a minus sign is prepend if factors are invalid.

The caller of the function takes ownership of the data, and is responsible for freeing it.
The value is a NUL terminated UTF-8 string.