[pulseaudio-commits] [Git][pulseaudio/pulseaudio][master] combine-sink: Set origin_sink for each output stream

PulseAudio Marge Bot (@pulseaudio-merge-bot) gitlab at gitlab.freedesktop.org
Mon Aug 23 17:19:47 UTC 2021



PulseAudio Marge Bot pushed to branch master at PulseAudio / pulseaudio


Commits:
404795ad by Arun Raghavan at 2021-08-23T17:14:13+00: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>

- - - - -


1 changed file:

- src/modules/module-combine-sink.c


Changes:

=====================================
src/modules/module-combine-sink.c
=====================================
@@ -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);
 



View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/commit/404795ad056af3134b5df5f6970097887d44f0c3

-- 
View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/commit/404795ad056af3134b5df5f6970097887d44f0c3
You're receiving this email because of your account on gitlab.freedesktop.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-commits/attachments/20210823/e0a8c3d7/attachment.htm>


More information about the pulseaudio-commits mailing list