On Tue, 2014-05-27 at 21:37 +0200, Wim Taymans wrote:
+/* Called from sink I/O thread context */
+static void sink_update_requested_latency(pa_sink *s) {
+struct userdata *u;
+struct output *o;
+pa_usec_t latency;
+
+pa_sink_assert_ref(s);
+pa_assert_se(u = s-userdata);
Mark the sink as DYNAMIC_LATENCY and implement update_sink_latency_range
on its sink-input to collect the combined latency range of all sinks.
Implement update_requested_latency on the sink to configure the final
latency by combining the sink-input requested latencies. This makes us
honour the