From e43c1ac338fa57b874c17238452e5fcfa5481489 Mon Sep 17 00:00:00 2001 From: Thom Johansen Date: Fri, 9 Nov 2007 01:11:34 +0000 Subject: Remove some unneeded floating point usage, port some needed floating point code to fixed point. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15547 a1c6a512-1295-4272-9138-f99709370657 --- apps/codecs/libspeex/arch.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'apps/codecs/libspeex/arch.h') diff --git a/apps/codecs/libspeex/arch.h b/apps/codecs/libspeex/arch.h index e2d731acc0..1e48e93388 100644 --- a/apps/codecs/libspeex/arch.h +++ b/apps/codecs/libspeex/arch.h @@ -68,6 +68,7 @@ typedef spx_word32_t spx_sig_t; #define LPC_SHIFT 13 #define LSP_SHIFT 13 #define SIG_SHIFT 14 +#define GAIN_SHIFT 6 #define VERY_SMALL 0 #define VERY_LARGE32 ((spx_word32_t)2147483647) @@ -111,9 +112,6 @@ typedef float spx_word32_t; #define GAIN_SCALING 1.f #define GAIN_SCALING_1 1.f -#define LPC_SHIFT 0 -#define LSP_SHIFT 0 -#define SIG_SHIFT 0 #define VERY_SMALL 1e-15f #define VERY_LARGE32 1e15f -- cgit v1.2.3