After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 644292 - [PATCH] Volume goes up to 11! Standardise the amplification amount
[PATCH] Volume goes up to 11! Standardise the amplification amount
Status: RESOLVED FIXED
Product: gnome-control-center
Classification: Core
Component: Sound
git master
Other Linux
: Normal normal
: ---
Assigned To: Control-Center Maintainers
Control-Center Maintainers
Depends on: 644511
Blocks:
 
 
Reported: 2011-03-09 10:03 UTC by Colin Guthrie
Modified: 2011-03-11 16:31 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
sound: Use upstream value for amplified volume. (2.09 KB, patch)
2011-03-09 10:05 UTC, Colin Guthrie
none Details | Review
sound: Use upstream value for amplified volume (3.50 KB, patch)
2011-03-11 15:46 UTC, Bastien Nocera
committed Details | Review

Description Colin Guthrie 2011-03-09 10:03:38 UTC
Hi,

This has been previously discussed with Lennart and I don't think it's overly controversial.

The commit message I wrote says it all so I'll just paste it here:



    sound: Use upstream value for amplified volume.
    
    In order to standardise various separate volume UIs,
    upstream PulseAudio has made a new define available for the recommended
    maximum volume to show in UIs. This volume was chosen to be
    similar to the value currently employed in gvc but also be
    based on dB values rather than a multiple of PA_VOLUME_NORM.
    
    The 150% value previously used mapped to +10.57dB with the
    current cubic volume mapping. In the interests of sanity,
    and with a tip of the hat to Spinal Tap, we decreed that the
    value should be +11dB. This is approx 153% which is doesn't really
    change the visual look of GVC.
    
    I will also be recommending other volume controls use this new
    value so everyone can use the mixer they want.
    
    This one goes up to 11. :)
    
    References:
    https://tango.0pointer.de/pipermail/pulseaudio-discuss/2010-April/006945.html
    https://tango.0pointer.de/pipermail/pulseaudio-discuss/2010-April/006950.html
    http://en.wikipedia.org/wiki/Up_to_eleven
Comment 1 Colin Guthrie 2011-03-09 10:05:50 UTC
Created attachment 182947 [details] [review]
sound: Use upstream value for amplified volume.

In order to standardise various separate volume UIs,
upstream PulseAudio has made a new define available for the recommended
maximum volume to show in UIs. This volume was chosen to be
similar to the value currently employed in gvc but also be
based on dB values rather than a multiple of PA_VOLUME_NORM.

The 150% value previously used mapped to +10.57dB with the
current cubic volume mapping. In the interests of sanity,
and with a tip of the hat to Spinal Tap, we decreed that the
value should be +11dB. This is approx 153% which is doesn't really
change the visual look of GVC.

I will also be recommending other volume controls use this new
value so everyone can use the mixer they want.

This one goes up to 11. :)

References:
https://tango.0pointer.de/pipermail/pulseaudio-discuss/2010-April/006945.html
https://tango.0pointer.de/pipermail/pulseaudio-discuss/2010-April/006950.html
http://en.wikipedia.org/wiki/Up_to_eleven
Comment 2 Colin Guthrie 2011-03-09 10:07:30 UTC
FWIW, if any more gnome-media 2.x are going to be released, it would be nice to include this patch there too (it applies cleanly).
Comment 3 Bastien Nocera 2011-03-11 15:46:59 UTC
Created attachment 183155 [details] [review]
sound: Use upstream value for amplified volume

In order to standardise various separate volume UIs,
upstream PulseAudio has made a new define available for the
recommended
maximum volume to show in UIs. This volume was chosen to be
similar to the value currently employed in gvc but also be
based on dB values rather than a multiple of PA_VOLUME_NORM.

The 150% value previously used mapped to +10.57dB with the
current cubic volume mapping. In the interests of sanity,
and with a tip of the hat to Spinal Tap, we decreed that the
value should be +11dB. This is approx 153% which is doesn't really
change the visual look of GVC.

I will also be recommending other volume controls use this new
value so everyone can use the mixer they want.

This one goes up to 11. :)

References:
https://tango.0pointer.de/pipermail/pulseaudio-discuss/2010-April/006945.html
https://tango.0pointer.de/pipermail/pulseaudio-discuss/2010-April/006950.html
http://en.wikipedia.org/wiki/Up_to_eleven
Comment 4 Bastien Nocera 2011-03-11 15:48:17 UTC
This patch should do the same thing, but also allow the Javascript code in gnome-shell to ditch its own defines (which is has to avoid depending on g-i support for PulseAudio).
Comment 5 Bastien Nocera 2011-03-11 15:49:49 UTC
Waiting on feedback for the gnome-shell code.
Comment 6 Colin Guthrie 2011-03-11 16:23:22 UTC
Seems good to me (other than the potential for unused argument warnings etc. - I presume this is needed to fit in with other stuff as it's clearly not needed as an argument per-se?)
Comment 7 Bastien Nocera 2011-03-11 16:31:16 UTC
Attachment 183155 [details] pushed as a9555f5 - sound: Use upstream value for amplified volume