Laine icon indicating copy to clipboard operation
Laine copied to clipboard

Displays unavailable and unplugged outputs

Open ghost opened this issue 9 years ago • 4 comments

I would like them to be hidden, because switching to them does not work obviously.

ghost avatar Apr 12 '15 23:04 ghost

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.

johnhoran avatar Apr 13 '15 10:04 johnhoran

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.

johnhoran avatar Apr 16 '15 10:04 johnhoran

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.

johnhoran avatar Apr 19 '15 14:04 johnhoran

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.

uebelhacker avatar Sep 06 '15 13:09 uebelhacker