summaryrefslogtreecommitdiffstats
path: root/src/pulse/timeval.h
diff options
context:
space:
mode:
authorTanu Kaskinen <tanuk@iki.fi>2009-10-02 17:24:44 +0300
committerTanu Kaskinen <tanuk@iki.fi>2009-10-02 17:24:44 +0300
commit019331d25b6af107fb8cacc3ada552e7567a64bf (patch)
treed5545e795e164fb6cd8edae1a45e7b8bb966ee12 /src/pulse/timeval.h
parent587131917f9129c8347c789febb7e755dfb091de (diff)
parentafd1b6d355ef1a41cb3592485855e273a5de69c1 (diff)
Merge branch 'master' into dbus-work
Conflicts: src/daemon/daemon-conf.c
Diffstat (limited to 'src/pulse/timeval.h')
-rw-r--r--src/pulse/timeval.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/pulse/timeval.h b/src/pulse/timeval.h
index 48c6cdb3..3cea5d3b 100644
--- a/src/pulse/timeval.h
+++ b/src/pulse/timeval.h
@@ -51,12 +51,15 @@ PA_C_DECL_BEGIN
/** The number of nanoseconds in a microsecond */
#define PA_NSEC_PER_USEC ((unsigned long long) 1000ULL)
-/** Invalid time in usec */
+/** Invalid time in usec. \since 0.9.15 */
#define PA_USEC_INVALID ((pa_usec_t) -1)
+/** Biggest time in usec. \since 0.9.18 */
+#define PA_USEC_MAX ((pa_usec_t) -2)
+
struct timeval;
-/** Return the current timestamp, just like UNIX gettimeofday() */
+/** Return the current wallclock timestamp, just like UNIX gettimeofday(). */
struct timeval *pa_gettimeofday(struct timeval *tv);
/** Calculate the difference between the two specified timeval