ref: bad42a7d056a1e3d62942f9e1d15284ad68634b8
parent: 4b087df592128c6964c9639709de68e38ca8c070
author: Jean-Marc Valin <[email protected]>
date: Wed Dec 1 09:54:10 EST 2010
Better tuning for 5 ms frames
--- a/libcelt/rate.c
+++ b/libcelt/rate.c
@@ -289,7 +289,7 @@
thresh[j] = 2*(C*(m->eBands[j+1]-m->eBands[j])<<LM<<BITRES)>>3;
/* Tilt of the allocation curve */
for (j=start;j<end;j++)
- trim_offset[j] = C*(m->eBands[j+1]-m->eBands[j])*(alloc_trim-2-2*LM)*(m->nbEBands-j-1)
+ trim_offset[j] = C*(m->eBands[j+1]-m->eBands[j])*(alloc_trim-5-LM)*(m->nbEBands-j-1)
<<(LM+BITRES)>>6;
lo = 0;