summaryrefslogtreecommitdiffstats
path: root/polyp
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2006-01-09 12:37:17 +0000
committerLennart Poettering <lennart@poettering.net>2006-01-09 12:37:17 +0000
commit794033aa7512f148190cf0ea48b0058dcfe34e32 (patch)
treee06d56ee074206f5dd7148a5019f682cf42e8240 /polyp
parent656cf879937440e8764cf9f9429b7b484944dc1e (diff)
fix synchronized clock change
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@425 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'polyp')
-rw-r--r--polyp/polyplib-stream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/polyp/polyplib-stream.c b/polyp/polyplib-stream.c
index 440217e7..a1a66990 100644
--- a/polyp/polyplib-stream.c
+++ b/polyp/polyplib-stream.c
@@ -414,7 +414,7 @@ static void stream_get_latency_info_callback(struct pa_pdispatch *pd, uint32_t c
} else {
gettimeofday(&now, NULL);
- if (pa_timeval_cmp(&local, &remote) < 0 && pa_timeval_cmp(&remote, &now)) {
+ if (pa_timeval_cmp(&local, &remote) < 0 && pa_timeval_cmp(&remote, &now) < 0) {
/* local and remote seem to have synchronized clocks */
if (o->stream->direction == PA_STREAM_PLAYBACK)