summaryrefslogtreecommitdiffstats
path: root/src/pulse/timeval.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pulse/timeval.h')
-rw-r--r--src/pulse/timeval.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pulse/timeval.h b/src/pulse/timeval.h
index 651da953..6307735c 100644
--- a/src/pulse/timeval.h
+++ b/src/pulse/timeval.h
@@ -51,6 +51,9 @@ PA_C_DECL_BEGIN
/** The number of nanoseconds in a microsecond */
#define PA_NSEC_PER_USEC ((pa_usec_t) 1000ULL)
+/** Invalid time in usec */
+#define PA_USEC_INVALID ((pa_usec_t) -1)
+
struct timeval;
/** Return the current timestamp, just like UNIX gettimeofday() */