GNOME Bugzilla – Bug 675901
Indicate output on volume OSD
Last modified: 2013-01-12 21:13:51 UTC
It would be nice to see the sound output location listed on the volume change OSD. This is particularly useful if you are changing the volume because you can't hear something and don't realize that headphones are plugged in. It would also be nice to maintain different volume level status for each output device. So when I plug in phones it goes back to non-ear-bleedingly loud.
Lennart, this should be possible now right?
I was sure this was already filed, but I can't find it. It's dependent on the changes in gnome-control-center/PA 2.0 to get port information.
> It would also be nice to maintain different volume level status for each output > device. So when I plug in phones it goes back to non-ear-bleedingly loud. Given the jack detection stuff in PulseAudio 2.0 and Linux 3.3 (or above), this should be the rule rather than the exception (i e, it works for most newer desktops and laptops). See http://voices.canonical.com/david.henningsson/2011/09/29/independent-volume-for-headphones-and-speakers/ for some background info (although that article is Ubuntu centric, as of PA 2.0 and Linux 3.3, the same patches are upstream). It should be independent of the new sound settings UI.
(In reply to comment #3) <snip> > It should be independent of the new sound settings UI. The backend code for volume setting in gnome-settings-daemon uses the same code as gnome-control-center, so it's not really independent.
(In reply to comment #4) > (In reply to comment #3) > <snip> > > It should be independent of the new sound settings UI. > > The backend code for volume setting in gnome-settings-daemon uses the same code > as gnome-control-center, so it's not really independent. Okay. Just to clarify, the port information needed for OSD has been in the PulseAudio API for a long time, what's new in PulseAudio 2.0 (and Linux 3.3) is that the port will switch automatically for most people, so that e g when you plug your headphones in, PulseAudio's port will switch from "speaker" to "headphones".
Created attachment 233261 [details] [review] Update gvc submodule to git master
Created attachment 233262 [details] [review] osd-window: show device description on volume OSD Only when the device is not the built-in/internal audio.
This is on top of the patches in bug 652321.
Comment on attachment 233261 [details] [review] Update gvc submodule to git master Looks good.
Review of attachment 233262 [details] [review]: Looks good though you might want to run this by the designers first. iOS has the name of the output above the icon, and I would personally have the output name as a fixed height, and ellipsise if needed.
Created attachment 233266 [details] [review] osd-window: show device description on volume OSD -- Better version, uses a similar logic to what we have in the Shell to show the headphones icon.
We can always change the location of the label later. Thanks again for the patch.