[Bug 753304] pulsesink: volume does not appear to be linear; violates playbin contract
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Wed Sep 9 06:34:21 PDT 2015
https://bugzilla.gnome.org/show_bug.cgi?id=753304
Arun Raghavan <arun at accosted.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |INVALID
--- Comment #9 from Arun Raghavan <arun at accosted.net> ---
This one is my bad. The cubic mapping is done under the hood while storing the
volume _but_, while applying the volume, it is undone. From an API perspective,
pa_sw_volume_from_linear() is what we provide to apply a linear multiplication
factor. So there is nothing to do here.
(this internal conversion exists because if you directly set the volume as
slider_value * PA_VOLUME_NORM instead of using the from_linear() API, PA will
apply a cubic mapping for you assuming that is what you wanted to do)
--
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