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

Raymond Yau superquad.vortex2 at gmail.com
Fri Nov 9 19:00:18 PST 2012


> > >> +        if (hasNo && !hasYes && !hasOther)
> > >> +            desc += " (unplugged)";
> > >> +        else if (hasYes && !hasNo && !hasOther)
> > >> +            desc += " (plugged in)";
> > >
> > > I think profiles should be "plugged in" if any port is available.
> >
> > The reason I did it for profiles in the first place, were just to make
> > the user get a hint about which one of the four HDMIs to select on the
> > configuration tab, and there is just one port per profile in that
scenario.
> >
> > I also think that if one port is available and another is not, we
> > shouldn't say that the entire profile is "plugged in". It really only
> > makes sense to write something when all of the ports have the same
> > value. I e, the current code is correct IMO.
>
> What about laptop speakers that are always available (let's ignore the
> fact that it looks like the analog-output-speaker port never reports
> itself as "available", only "unknown" or "unavailable")? If headphones
> are not plugged in, I think the output:analog-stereo profile is still
> very much available ("plugged in" is not the best phrase in this case).

this is confusing when the speaker are always plugged into the rear panel
jack for most desktop user but pulseaudio just report the state is unknown
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20121110/e0dd2219/attachment.html>


More information about the pulseaudio-discuss mailing list