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 689632 - Playbin cubic volume
Playbin cubic volume
Status: RESOLVED FIXED
Product: rygel
Classification: Applications
Component: GstPlaybin plugin
git master
Other Linux
: Normal enhancement
: ---
Assigned To: rygel-maint
rygel-maint
Depends on:
Blocks:
 
 
Reported: 2012-12-04 14:55 UTC by Reiner Merk
Modified: 2014-05-31 09:25 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
cubic volume for playbin (2.73 KB, patch)
2012-12-04 14:55 UTC, Reiner Merk
none Details | Review
renderer-gst: Use cubic volume (2.58 KB, patch)
2013-03-08 18:51 UTC, Jens Georg
committed Details | Review

Description Reiner Merk 2012-12-04 14:55:19 UTC
Created attachment 230663 [details] [review]
cubic volume for playbin

Attached small patch will change playbin volume control from linear to cubic.

Caution: Untested, as my system doesn't have the dependency, yet. Original patch is from rygel-0.14.x/gstreamer-0.10.3.
Comment 1 Jens Georg 2012-12-04 15:23:42 UTC
What's the benefit of that?
Comment 2 Reiner Merk 2012-12-04 17:47:01 UTC
The human ear perceives sound intensity according to a logarithmic scale.

A change in volume is more audible for quieter sounds than for louder sounds.

A linear volume slider has therefore less control in the lower volumes where it would be needed and more control in the higher volumes where it makes little audible difference.

The cubic volume slider corrects this.

see Description (http://developer.gnome.org/gst-plugins-libs/1.0/gst-plugins-base-libs-gststreamvolume.html):

"Volume sliders should usually use a cubic volume."
Comment 3 Jens Georg 2013-03-08 18:37:17 UTC
Sorry, it took a while to test this, but with this the ~first half of the slider gets quite silent ...
Comment 4 Jens Georg 2013-03-08 18:51:05 UTC
Created attachment 238391 [details] [review]
renderer-gst: Use cubic volume

Patch adapted to current codebase
Comment 5 Jens Georg 2014-05-31 09:25:26 UTC
Attachment 238391 [details] pushed as 50a54ae - renderer-gst: Use cubic volume