diff options
author | Tanu Kaskinen <tanu.kaskinen@linux.intel.com> | 2015-01-20 15:36:44 +0100 |
---|---|---|
committer | Wim Taymans <wtaymans@redhat.com> | 2015-01-20 15:36:44 +0100 |
commit | 24340049229343f3fc078a19415d095e97d797e6 (patch) | |
tree | b7e3dad0fa68cb6f64c497d98379a47cfbc7771b | |
parent | d9f4946f8f257b04e3c8579d86f8a0832a64fbdc (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/module-combine.c b/src/modules/module-combine.c index bac333ad8..326674d8e 100644 --- a/src/modules/module-combine.c +++ b/src/modules/module-combine.c @@ -941,7 +941,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; } |