fixed-point: compression factor (alpha) now a 16-bit value (still internally
converted to float though)
diff --git a/libcelt/arch.h b/libcelt/arch.h
index 73ebef5..c836910 100644
--- a/libcelt/arch.h
+++ b/libcelt/arch.h
@@ -80,6 +80,7 @@
#define VERY_LARGE32 ((celt_word32_t)2147483647)
#define VERY_LARGE16 ((celt_word16_t)32767)
#define Q15_ONE ((celt_word16_t)32767)
+#define Q15_ONE_1 (1.f/32768.f)
#ifdef FIXED_DEBUG
@@ -129,6 +130,7 @@
#define VERY_LARGE32 1e15f
#define VERY_LARGE16 1e15f
#define Q15_ONE ((celt_word16_t)1.f)
+#define Q15_ONE_1 ((celt_word16_t)1.f)
#define QCONST16(x,bits) (x)
#define QCONST32(x,bits) (x)