VLC 4.0.0-dev
|
These functions provide access to the LibVLC time/clock. More...
Functions | |
int64_t | libvlc_clock (void) |
Return the current time as defined by LibVLC. More... | |
static int64_t | libvlc_delay (int64_t pts) |
Return the delay (in microseconds) until a certain timestamp. More... | |
These functions provide access to the LibVLC time/clock.
int64_t libvlc_clock | ( | void | ) |
Return the current time as defined by LibVLC.
The unit is the microsecond. Time increases monotonically (regardless of time zone changes and RTC adjustments). The origin is arbitrary but consistent across the whole system (e.g. the system uptime, the time since the system was booted).
Referenced by libvlc_delay().
|
inlinestatic |
Return the delay (in microseconds) until a certain timestamp.
pts | timestamp |
References libvlc_clock().