[pulseaudio-discuss] [PATCH] combine-sink: add support for DYNAMIC_LATENCY

Wim Taymans wim.taymans at gmail.com
Tue Jun 10 12:38:27 PDT 2014

Here is an updated patch that implements DYNAMIC_LATENCY in the combine module.

As suggested, the min latency is now set to 0 (or 500, it's clamped internally)
when no output is connected. Max latency is always capped to 200ms (or
min_latency, if it is larger).

When no latency is requested from the sink-inputs, we configure ourselves for
our calculated max_latency. 

Inspired by the null-sink, we use the configured latency to make sure that the
null-renderer is woken up often enough.

Wim Taymans (1):
  combine-sink: add suport for DYNAMIC_LATENCY

 src/modules/module-combine-sink.c | 142 ++++++++++++++++++++++++++++----------
 1 file changed, 107 insertions(+), 35 deletions(-)


More information about the pulseaudio-discuss mailing list