Laine
Laine copied to clipboard
Displays unavailable and unplugged outputs
I would like them to be hidden, because switching to them does not work obviously.
This is actually something I looked at before, and at the time I wasn't able to find that information exposed anywhere in the pulseaudio dbus interface. It is definitely something I would like to have though.
As it stands pulseaudio doesn't expose this information in their DBus interface. I've had a look at the code behind that interface, and it doesn't look too hard to extend that and write a patch to add what I need. So I plan on doing that and submitting it to the pulseaudio project. Obviously then I'll have to wait till it gets accepted and then pushed out. So don't expect any progress on this issue till all that happens.
Well I've submitted a patch to pulseaudio to make port availability visible. If the patch is accepted then I'll add in code to handle it into the extension.
I see this request from another perspective: a connected headphone in my docking station (for Lenovo Thinkpads) is shown as unplugged, thus, not selectable in your extension -- neither with any Gnome extension I tested. I always need to start pavucontrol to select the "Headphones (unplugged)".
This could serve as a config option: [ ] show unplugged devices and make them selectable [ ] hide unplugged devices
What's default is up to you ;) Would be nice to have this, no other extension found yet.