[Bug 745667] volume: Unable to set the volume with gcc-4.9 on arm platform
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Thu Mar 5 05:22:30 PST 2015
https://bugzilla.gnome.org/show_bug.cgi?id=745667
Sebastian Dröge (slomo) <slomo at coaxion.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
Target Milestone|git master |1.5.1
--- Comment #8 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
commit 40f4daffd12b84dceb23942a992815e11b5a0839
Author: Sebastian Dröge <sebastian at centricular.com>
Date: Thu Mar 5 12:31:06 2015 +0100
volume: Explicitly cast integers to doubles and then back to integers after
multiplication
gcc 4.9.1 on ARM seems to have a bug that causes it to cast the float to an
integer first, resulting in a 0 scale factor for volume < 1.0.
As a side effect this change here will also improve accuracy of the result
a
bit because we go via doubles instead of floats.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65325
https://bugzilla.gnome.org/show_bug.cgi?id=745667
--
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