summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTanu Kaskinen <tanu.kaskinen@linux.intel.com>2014-06-17 14:04:43 +0300
committerWim Taymans <wtaymans@redhat.com>2014-08-05 11:39:46 +0200
commit84bf0fd954489069c171137db24d5ccb43cb2e93 (patch)
tree7b7e0ac4cd3dd9a3b8c5ec6693e21a97665c1a0a
parent7fb7a68d3153d7b4cc1d1f8696be9aa69812b93f (diff)
combine-sink: Fix the initial requested latency of new outputs
If the combine-sink is running with low latency, and a new output is added, the new output was not configured with low latency.
-rw-r--r--src/modules/module-combine-sink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/module-combine-sink.c b/src/modules/module-combine-sink.c
index 8a2e43bd3..0436e34fe 100644
--- a/src/modules/module-combine-sink.c
+++ b/src/modules/module-combine-sink.c
@@ -954,7 +954,7 @@ static int output_create_sink_input(struct output *o) {
o->sink_input->kill = sink_input_kill_cb;
o->sink_input->userdata = o;
- pa_sink_input_set_requested_latency(o->sink_input, BLOCK_USEC);
+ pa_sink_input_set_requested_latency(o->sink_input, pa_sink_get_requested_latency(u->sink));
return 0;
}