[Bug 753304] New: pulsesink volume does not appear to be linear; violates playbin contract

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Aug 5 20:51:17 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=753304

            Bug ID: 753304
           Summary: pulsesink volume does not appear to be linear;
                    violates playbin contract
    Classification: Platform
           Product: GStreamer
           Version: 1.5.2
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: dustin at virtualroadside.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

When I set the volume of a pulsesink, it does not appear to be linear, as
documented at [1].

Let's start by listing the current system volume "pactl list sinks | grep
Volume"... looks like 16%. Ok, play a file with playbin:

gst-launch-1.0 playbin uri=file:///file.ogg volume=0.1

When I do 'pactl list sink-inputs' it shows the volume set to 46%. Doesn't
appear to be linear to me... a side effect of this is that if my application
tries to set the volume to some N, the only really usable values for the user
are somewhere between 0 and 0.1/0.2ish, as everything else will tend to be too
loud.

Probably related to bug 680779.

[1]
http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-plugins/html/gst-plugins-base-plugins-playbin.html#GstPlayBin--volume

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list