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.
This commit is contained in:
Forest Bond 2011-05-20 12:07:05 -04:00 committed by Colin Guthrie
parent 51d53016f3
commit ab808930ef

View file

@ -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;