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 d4c9ad179b
commit cc91a8f4b4

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;