Audioconvert from INT16bits to FLOAT64bits

Sebastian Dröge sebastian at centricular.com
Sat Sep 19 08:51:29 PDT 2015


On Fr, 2015-09-18 at 17:47 +0000, Sébastien FENET wrote:
> Hi all!
> 
> I'm using GStreamer 1.0 under Python (through PyGI).
> I have a little issue with audioconvert.
> 
> I want to convert some S16LE samples to F64LE.
> 
> As far as I know, this should simply be a division by 2**(16-1).
> 
> For a strange reason, the factor used in Audioconvert is slightly
> lower (something like 1+5e-10 times lower).
> 
> The result is that the output signal may have samples greater than 1
> (I think I'm not the only one to observe this: get gstreamer
> audioconvert to output signed 32-bit floats from -1 to 1)
> 
> Does anyone know why Audioconvert would do such a thing? Am I missing 
> something?

Can you report a bug about that here?
https://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer

For now I would say that it shouldn't really do that, but needs closer
investigation

-- 
Sebastian Dröge, Centricular Ltd · http://www.centricular.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150919/13fe15d7/attachment.sig>


More information about the gstreamer-devel mailing list