[pulseaudio-discuss] [PATCH pavucontrol] mainwindow: Show the availability of the ports and profiles.

Raymond Yau superquad.vortex2 at gmail.com
Sun Nov 11 03:39:35 PST 2012


> >
> > The ports variable contains all ports of a card. Here I think you add
> > all output ports of a card to all sinks of the card and all input ports
> > to all sources. That's not right, a sink may have only a subset of the
> > card's output ports assigned to it.
> >
> > The "plugged in" and "unplugged" strings should probably be
> > translatable. (Same for the profile code.)
> >
>
> Good catch. I got myself thinking that I could generalize the solution a
> little bit but it seems that we can't figure out which port belongs
> where just from pa_card_port_info.
>
> >
> > I think profiles should be "plugged in" if any port is available.
> >
>
i have doubt about it

the profile is not available when the jack available state of the port is
NO but all profiles have passed the open pcm test.

this mean that some port does not have jack detect capability (e.g. some
nvidia hdmi , spdif,  all pci sound cards and onboard ac97 sound card, )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20121111/1ab47199/attachment.html>


More information about the pulseaudio-discuss mailing list