[pulseaudio-discuss] Mixing audio from multiple sink-inputs to multiple sinks dynamically

Lode Cools lode.cools1 at gmail.com
Thu Apr 7 18:50:51 UTC 2016


>> > > Ideally, there would be a solution where you could change the slaves of a
>> > > combine-sink dynamically.  But, afaik, this does not exist and is not
>> > > planned either.
>> >
>> > It may not be planned, but patches implementing dynamic combine sink
>> > slave management would definitely be welcome.
>> >
>>
>> OK. Understood.  If it starts to become relevant for my intended
>> application, I will implement this.  How would the API look like?  Is
>> it enough to just catch changes on the sinks property list?
>
> I would suggest adding a protocol extension with associated functions
> in libpulse. We currently have three protocol extensions, see the ext-
> *.h pages listed here (or have a look at the source code):
> https://freedesktop.org/software/pulseaudio/doxygen/files.html
>
> The API should have functions for querying the list of existing combine
> sinks and their state (the active and configured outputs), for
> configuring the combine sink outputs, and for getting notifications of
> changes in the combine sink states. And a way to get a notification
> when the protocol extension becomes unavailable.
>
> Feel free to ask any further questions here on the mailing list or in
> IRC.

OK.  Thanks for the support.  I ll get back when I would start implementing.


More information about the pulseaudio-discuss mailing list