]> code.delx.au - pulseaudio/commit
volume: Add a PA_VOLUME_UI_MAX define for the recommended max volume to show in UIs
authorColin Guthrie <cguthrie@mandriva.org>
Thu, 3 Mar 2011 12:04:31 +0000 (12:04 +0000)
committerColin Guthrie <cguthrie@mandriva.org>
Thu, 3 Mar 2011 13:28:39 +0000 (13:28 +0000)
commit82a84eb1bd03936218de93ca3e59cb37cdaf9328
treef3dc0498ad5bef2a79f66789044187038764529e
parent8c012a676db185e07b6c0f0507b496335ba2ab6c
volume: Add a PA_VOLUME_UI_MAX define for the recommended max volume to show in UIs

This value is not a technical upper limit, it's just a 'sensible'
value that is not crazy high, but also allows software amplification
above 0dB (aka 100%) for very quiet audio sources.

We recommend that a comprehensive volume control UI should allow
users to set volumes up to this limit, although of course should
deal gracefully if the user has set the volume even higher than this
without resulting in a feedback loop that effectively limits the
upper volume.

The value chosen is +11dB. This was selected somewhat subjectively
and is very similar to the current 150% that gnome-volume-control
uses (which is ~+10.57dB).

On the plus side, we now recommend that everyone allows
'Volumes up to 11' which is pretty awesome.
http://en.wikipedia.org/wiki/Up_to_eleven

https://tango.0pointer.de/pipermail/pulseaudio-discuss/2010-April/006945.html
https://tango.0pointer.de/pipermail/pulseaudio-discuss/2010-April/006950.html
src/pulse/volume.h