[PATCH] combine-sink: add support for DYNAMIC_LATENCY

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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(-)

-- 
1.9.3



[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux