mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
ladspa/remap: sync latency flags from master sink when moving between sinks
This commit is contained in:
parent
0c08dbd9b9
commit
e5b08a81d2
2 changed files with 2 additions and 0 deletions
|
|
@ -391,6 +391,7 @@ static void sink_input_moving_cb(pa_sink_input *i, pa_sink *dest) {
|
||||||
pa_assert_se(u = i->userdata);
|
pa_assert_se(u = i->userdata);
|
||||||
|
|
||||||
pa_sink_set_asyncmsgq(u->sink, dest->asyncmsgq);
|
pa_sink_set_asyncmsgq(u->sink, dest->asyncmsgq);
|
||||||
|
pa_sink_update_flags(u->sink, PA_SINK_LATENCY|PA_SINK_DYNAMIC_LATENCY, dest->flags);
|
||||||
}
|
}
|
||||||
|
|
||||||
int pa__init(pa_module*m) {
|
int pa__init(pa_module*m) {
|
||||||
|
|
|
||||||
|
|
@ -303,6 +303,7 @@ static void sink_input_moving_cb(pa_sink_input *i, pa_sink *dest) {
|
||||||
pa_assert_se(u = i->userdata);
|
pa_assert_se(u = i->userdata);
|
||||||
|
|
||||||
pa_sink_set_asyncmsgq(u->sink, dest->asyncmsgq);
|
pa_sink_set_asyncmsgq(u->sink, dest->asyncmsgq);
|
||||||
|
pa_sink_update_flags(u->sink, PA_SINK_LATENCY|PA_SINK_DYNAMIC_LATENCY, dest->flags);
|
||||||
}
|
}
|
||||||
|
|
||||||
int pa__init(pa_module*m) {
|
int pa__init(pa_module*m) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue