Comment 20 for bug 1373404

Revision history for this message
Ricardo Salveti (rsalveti) wrote : Re: No warning of high volume level

One easy way in the indicator to know if the active port a headphone/headset: http://paste.ubuntu.com/8556022/

I think we should do the following:
1 - Check if the active port is headset;
2 - If headset, see if the volume for the multimedia role is higher than 75%. If higher, change it to 75% (this is basically what is done on Android). This check can be done once at every reboot (or every time someone plugs a headphone/headset).
3 - When changing volume for the multimedia role, warn the user if higher than 75%.

You can also do the same for the other roles, but generally we are only concerned with multimedia.