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 781149 - volume: GDouble "volume" property stored secretly as a gfloat
volume: GDouble "volume" property stored secretly as a gfloat
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
1.10.4
Other Linux
: Normal normal
: 1.11.91
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-04-10 18:38 UTC by Nicolas Dufresne (ndufresne)
Modified: 2017-04-11 08:17 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Nicolas Dufresne (ndufresne) 2017-04-10 18:38:46 UTC
The "volume" property, which is exposed as a double, it stored secretly as a float, loosing precision along the way.
Comment 1 Sebastian Dröge (slomo) 2017-04-11 08:17:56 UTC
commit 711504aad118457fa86b8e65093d19cdb93e7e25
Author: Sebastian Dröge <sebastian@centricular.com>
Date:   Tue Apr 11 11:16:33 2017 +0300

    volume: Store volume as a double for consistency with the property type
    
    And the potential increased precision, which shouldn't matter much here.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=781149