mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
rtclock: document that we fallback to wallclock time if monotonic time is not supported
This commit is contained in:
parent
f753ef2a23
commit
f3bbbd0fd3
1 changed files with 4 additions and 2 deletions
|
|
@ -27,11 +27,13 @@
|
||||||
#include <pulse/gccmacro.h>
|
#include <pulse/gccmacro.h>
|
||||||
|
|
||||||
/** \file
|
/** \file
|
||||||
* Monotonic clock utility. */
|
* Monotonic clock utilities. */
|
||||||
|
|
||||||
PA_C_DECL_BEGIN
|
PA_C_DECL_BEGIN
|
||||||
|
|
||||||
/** Return the current CLOCK_MONOTONIC time in usec. \since 0.9.16 */
|
/** Return the current monotonic system time in usec, if such a clock
|
||||||
|
* is available. If it is not available this will return the
|
||||||
|
* wallclock time instead. \since 0.9.16 */
|
||||||
pa_usec_t pa_rtclock_now(void);
|
pa_usec_t pa_rtclock_now(void);
|
||||||
|
|
||||||
PA_C_DECL_END
|
PA_C_DECL_END
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue