From 25123469d53e2ef555549984ea4e8b028c1632fb Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 10 Sep 2004 22:35:12 +0000 Subject: add support for module search path as command line argument protocol-native: move first data request into ack of stream creation improve mainloop API: return the number of dispatched sources on iterate() fix a resampling bug introduce network latency measurement WARNING: all these changes together may break some applications git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@189 fefdeb5f-60dc-0310-8127-8f9354f1896f --- polyp/util.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'polyp/util.h') diff --git a/polyp/util.h b/polyp/util.h index 18f883f0..adc4429b 100644 --- a/polyp/util.h +++ b/polyp/util.h @@ -27,6 +27,7 @@ #include #include "gcc-printf.h" +#include "sample.h" void pa_make_nonblock_fd(int fd); @@ -43,7 +44,9 @@ char *pa_vsprintf_malloc(const char *format, va_list ap); char *pa_get_user_name(char *s, size_t l); char *pa_get_host_name(char *s, size_t l); -uint32_t pa_age(struct timeval *tv); +pa_usec_t pa_timeval_diff(const struct timeval *a, const struct timeval *b); +int pa_timeval_cmp(const struct timeval *a, const struct timeval *b); +pa_usec_t pa_age(const struct timeval *tv); void pa_raise_priority(void); void pa_reset_priority(void); -- cgit