tunnel: Make fixed latency configurable

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

Currently, module-tunnel uses the default fixed latency of 250ms as fixed latency.

There is no reason for such a large latency. This patch adds a parameter latency_msec to the module to set the fixed latency at load time of the module. The parameter can range from 5 to 500 milliseconds. With this patch, I was able to run a tunnel sink at 7ms latency without problems.

Part-of:

735eb05e6 tunnel: Make fixed latency configurable
src/modules/module-tunnel.c | 27 +++++++++++++++++++++------
1 file changed, 21 insertions(+), 6 deletions(-)

Upstream: cgit.freedesktop.org


  • Share