Better tuning for 5 ms frames

This commit is contained in:
Jean-Marc Valin 2010-12-01 14:54:10 -05:00
parent 4b087df592
commit bad42a7d05

View file

@ -289,7 +289,7 @@ int compute_allocation(const CELTMode *m, int start, int end, int *offsets, int
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;