From cc91a8f4b4c1108d2e11d27bb931651b8ee9b41f Mon Sep 17 00:00:00 2001 From: Forest Bond Date: Fri, 20 May 2011 12:07:05 -0400 Subject: module-combine-sink: Initialize smoother with offset pa_rtclock_now() The smoother was being initialized with offset zero, which caused the sink latency to be unconditionally reported as zero. --- src/modules/module-combine.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/module-combine.c b/src/modules/module-combine.c index 3104ed68..f230bda1 100644 --- a/src/modules/module-combine.c +++ b/src/modules/module-combine.c @@ -1159,7 +1159,7 @@ int pa__init(pa_module*m) { TRUE, TRUE, 10, - 0, + pa_rtclock_now(), FALSE); adjust_time_sec = DEFAULT_ADJUST_TIME_USEC / PA_USEC_PER_SEC; -- cgit