diff options
Diffstat (limited to 'src/pulsecore/rtclock.c')
-rw-r--r-- | src/pulsecore/rtclock.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/pulsecore/rtclock.c b/src/pulsecore/rtclock.c index b34e6a41..cec7124f 100644 --- a/src/pulsecore/rtclock.c +++ b/src/pulsecore/rtclock.c @@ -93,3 +93,9 @@ pa_bool_t pa_rtclock_hrtimer(void) { #endif } + +pa_usec_t pa_rtclock_usec(void) { + struct timeval tv; + + return pa_timeval_load(pa_rtclock_get(&tv)); +} |