mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
combine-sink: Set origin_sink for each output stream
While the threading model for combine is different from other filters (which expect to just piggy-back on the I/O thread of the most downstream sink), it might still be valuable to set this field to indicate that this sink input is intended to behave as a filter stream rather than a conventional stream. At the very least, routing behaviour and cycle detection should act on these streams as with any other filter. Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/399>
This commit is contained in:
parent
19adddee31
commit
404795ad05
1 changed files with 1 additions and 0 deletions
|
|
@ -998,6 +998,7 @@ static int output_create_sink_input(struct output *o) {
|
|||
data.module = u->module;
|
||||
data.resample_method = u->resample_method;
|
||||
data.flags = PA_SINK_INPUT_VARIABLE_RATE|PA_SINK_INPUT_DONT_MOVE|PA_SINK_INPUT_NO_CREATE_ON_SUSPEND;
|
||||
data.origin_sink = u->sink;
|
||||
|
||||
pa_sink_input_new(&o->sink_input, u->core, &data);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue