projects
/
platform
/
upstream
/
pulseaudio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
794033a
)
improve sync clock change
author
Lennart Poettering
<lennart@poettering.net>
Mon, 9 Jan 2006 12:38:06 +0000
(12:38 +0000)
committer
Lennart Poettering
<lennart@poettering.net>
Mon, 9 Jan 2006 12:38:06 +0000
(12:38 +0000)
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@426
fefdeb5f
-60dc-0310-8127-
8f9354f1896f
polyp/polyplib-stream.c
patch
|
blob
|
history
diff --git
a/polyp/polyplib-stream.c
b/polyp/polyplib-stream.c
index a1a669907de2aeaa89d3ed3042ef99dcaba2f409..6a73c608f3d5ba6e698953be90f3bf104c430e59 100644
(file)
--- 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) <
0) {
+ 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)