mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-12-22 08:56:52 -05:00
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.
This commit is contained in:
parent
3d4a20adba
commit
a6dbfe55c7
1 changed files with 1 additions and 1 deletions
|
|
@ -964,7 +964,7 @@ static int output_create_sink_input(struct output *o) {
|
||||||
o->sink_input->kill = sink_input_kill_cb;
|
o->sink_input->kill = sink_input_kill_cb;
|
||||||
o->sink_input->userdata = o;
|
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;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue