The change to FLOAT2INT16 in a8734e0f would break float input for
authorGregory Maxwell <greg@xiph.org>
Fri, 22 May 2009 03:08:46 +0000 (23:08 -0400)
committerGregory Maxwell <greg@xiph.org>
Fri, 22 May 2009 03:08:46 +0000 (23:08 -0400)
commit0ac2b2fe0b7354b4a4b293adbfa3d20be8b62df2
treea0f1698301744b93394a712411e01c7dac78ce50
parent454d1d0c21a28d899865aa4ae1eafec60be66197
The change to FLOAT2INT16 in a8734e0f would break float input for
fixed point compilation because SCALEIN is a no-op in fixed point
mode but the float interface is still normally +/- 1.0.

This patch adds a seperate define for the scaling factor so people
can adjust it for unusual input levels.
libcelt/arch.h
libcelt/celt.c