gstreamer/gst/audioconvert
Wim Taymans 9e15c89564 audioconvert: change multiplier for int<->float conversion
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
2015-11-03 12:12:08 +01:00
..
.gitignore gst/audioconvert/gstaudioconvert.c: create channel conversion matrix when linking 2005-02-13 17:39:22 +00:00
audioconvert.c audioconvert: rework audioconvert 2015-10-30 17:51:47 +01:00
audioconvert.h audioconvert: rework audioconvert 2015-10-30 17:51:47 +01:00
audioconvert.vcproj more working plugins 2004-07-27 21:41:30 +00:00
gstaudioconvert.c audioconvert: Clip input buffers to the segment before handling them 2015-11-02 10:20:37 +02:00
gstaudioconvert.h audioconvert: make the quantizer a reusable object 2015-10-28 11:36:18 +01:00
gstaudioconvertorc-dist.c audioconvert: update orc backup code to fix build without orc 2015-11-01 23:06:11 +00:00
gstaudioconvertorc-dist.h audioconvert: update orc backup code to fix build without orc 2015-11-01 23:06:11 +00:00
gstaudioconvertorc.orc audioconvert: change multiplier for int<->float conversion 2015-11-03 12:12:08 +01:00
gstaudioquantize.c audioconvert: rework audioconvert 2015-10-30 17:51:47 +01:00
gstaudioquantize.h audioconvert: rework audioconvert 2015-10-30 17:51:47 +01:00
gstchannelmix.c channelmix: fix up API a little 2015-10-30 17:51:47 +01:00
gstchannelmix.h channelmix: fix up API a little 2015-10-30 17:51:47 +01:00
gstfastrandom.h audioconvert: Avoid int division in quantization 2015-03-24 16:52:07 +01:00
Makefile.am Remove obsolete Android build cruft 2015-04-26 18:42:34 +01:00
plugin.c Fix FSF address 2012-11-03 23:05:09 +00:00
plugin.h Fix FSF address 2012-11-03 23:05:09 +00:00