combine-sink: Improve initial latency reports

System Internals / PulseAudio - Georg Chini [] - 25 August 2021 15:32 UTC

Currently, it takes one adjust time before the smoother is updated after an unsuspend. Before the first update, the smoother will not be aware of the slave sink latencies, leading to incorrect latency reports.

This patch moves the first smoother update to one latency time after the sink was unsuspended, thereby improving initial latency reports. This only partially resolves the problem because the smoother takes multiple updates to adapt to the slave sink latencies.


9d1a43ae8 combine-sink: Improve initial latency reports
src/modules/module-combine-sink.c | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)


  • Share