summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorForest Bond <forest.bond@rapidrollout.com>2011-05-20 12:07:05 -0400
committerColin Guthrie <colin@mageia.org>2011-06-05 21:25:44 +0200
commitcc91a8f4b4c1108d2e11d27bb931651b8ee9b41f (patch)
tree53b308db5777566b89edeaaef70b8667dfe5f5cf
parentd4c9ad179b9cc15e5ec9ede4444a447c4505421f (diff)
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.
-rw-r--r--src/modules/module-combine.c2
1 files changed, 1 insertions, 1 deletions
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;