[pulseaudio-discuss] [PATCH 2/8] card: Add variables for splitting up a profile
Tanu Kaskinen
tanuk at iki.fi
Mon Oct 19 07:32:41 PDT 2015
On Mon, 2015-10-19 at 16:11 +0200, David Henningsson wrote:
>
> On 2015-10-19 15:56, Tanu Kaskinen wrote:
> > On Tue, 2015-05-05 at 17:01 +0200, David Henningsson wrote:
> > > It can be useful for routing modules to know if a profile consists
> > > of an output and input part, in order to e g change output profile
> > > while keeping the input profile unchanged.
> >
> > n_sinks and n_sources already tell if a profile consists of an output
> > and input part.
>
> It's not only *if* but also *what* the input and output parts are.
Ok, so routing modules may want to know what particular sinks and
sources the profile contains. Since a profile may contain multiple
sinks or sources, I think the fields should contain all sink/source
names, and not only one that is selected according to some unobvious
logic.
Currently the fields don't contain the actual sink/source name, but an
alias (derived from the alsa mapping name) - are there good reasons to
prefer an alias rather than the real sink/source name?
--
Tanu
More information about the pulseaudio-discuss
mailing list