mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
9e15c89564
Use (1 << 31) as the multiplier for int<->float conversions. This makes sure that int->float conversions always end up with floats between [-1.0, 1.0]. For the conversion from float to int, this multiplier will give the complete int range after we perform clipping. Change the unit test to take this into consideration. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=755301 |
||
---|---|---|
.. | ||
.gitignore | ||
audioconvert.c | ||
audioconvert.h | ||
audioconvert.vcproj | ||
gstaudioconvert.c | ||
gstaudioconvert.h | ||
gstaudioconvertorc-dist.c | ||
gstaudioconvertorc-dist.h | ||
gstaudioconvertorc.orc | ||
gstaudioquantize.c | ||
gstaudioquantize.h | ||
gstchannelmix.c | ||
gstchannelmix.h | ||
gstfastrandom.h | ||
Makefile.am | ||
plugin.c | ||
plugin.h |