Top |
gchar * ags_time_get_uptime_from_offset (guint offset
,gdouble bpm
,gdouble delay
,gdouble delay_factor
);
Calculates uptime from offset
by applying factors bpm
, delay
and delay_factor
giving you the result as string.
offset |
the offset in tics |
|
bpm |
the beats per minute |
|
delay |
the buffer time as delay |
|
delay_factor |
tact segmentation |
the string containing the time, a minus sign is prepend if factors are invalid.
[transfer full]
Since: 3.0.0
gboolean ags_time_timeout_expired (struct timespec *start_time
,struct timespec *timeout_delay
);
Check start_time
plus timeout_delay
against current time.
Since: 3.0.0