Analysis scaling fixes
authorJean-Marc Valin <jmvalin@jmvalin.ca>
Mon, 9 Sep 2013 20:39:19 +0000 (16:39 -0400)
committerJean-Marc Valin <jmvalin@jmvalin.ca>
Mon, 9 Sep 2013 20:39:19 +0000 (16:39 -0400)
commitba7dbb365ebb1acff445a017d31e1bb859f0a9fb
tree302b5795e9d5096a864804c777f1cd5dc40b933c
parentfc1b1f9b441c2ffe090046c968e5d95f2eafb038
Analysis scaling fixes

This should make the scaling the same for fixed and float. It changes the float
scaling too by normalizing by the number of channels, which matters for
bandwidth detection.
celt/celt_encoder.c
src/analysis.c
src/opus_encoder.c