summaryrefslogtreecommitdiffstats
path: root/sbc/sbc_math.h
diff options
context:
space:
mode:
authorBrad Midgley <bmidgley@xmission.com>2008-02-15 18:06:32 +0000
committerBrad Midgley <bmidgley@xmission.com>2008-02-15 18:06:32 +0000
commitff51f4b0b2724754184baa08b09a47cad7b7b4d5 (patch)
treef1b189d94c196b7294991a6130b8bdc497eea495 /sbc/sbc_math.h
parent0a47bd96e7953af2345b9c603db90e71d51dd39c (diff)
fix for decoder noise at high bitpools
Diffstat (limited to 'sbc/sbc_math.h')
-rw-r--r--sbc/sbc_math.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/sbc/sbc_math.h b/sbc/sbc_math.h
index 007a1e9c..6c3fe2f2 100644
--- a/sbc/sbc_math.h
+++ b/sbc/sbc_math.h
@@ -40,14 +40,14 @@
#define SCALE_NPROTO4_TBL 10
#define SCALE_NPROTO8_TBL 12
#define SCALE_SAMPLES 14
-#define SCALE4_STAGE1_BITS 10
-#define SCALE4_STAGE2_BITS 21
-#define SCALE4_STAGED1_BITS 18
-#define SCALE4_STAGED2_BITS 23
-#define SCALE8_STAGE1_BITS 8
-#define SCALE8_STAGE2_BITS 24
-#define SCALE8_STAGED1_BITS 18
-#define SCALE8_STAGED2_BITS 23
+#define SCALE4_STAGE1_BITS 16
+#define SCALE4_STAGE2_BITS 16
+#define SCALE4_STAGED1_BITS 14
+#define SCALE4_STAGED2_BITS 14
+#define SCALE8_STAGE1_BITS 16
+#define SCALE8_STAGE2_BITS 16
+#define SCALE8_STAGED1_BITS 14
+#define SCALE8_STAGED2_BITS 14
typedef int32_t sbc_fixed_t;
typedef long long sbc_extended_t;