shithub: opus

Download patch

ref: 8bcd38824dd4baf082913dab734449ef729588ec
parent: 8f50b0f7569b19da3fa097b0e5d785796cafbeaa
author: Jean-Marc Valin <[email protected]>
date: Wed Sep 1 07:11:37 EDT 2010

Tuning at very low rate

--- a/libcelt/modes.c
+++ b/libcelt/modes.c
@@ -96,9 +96,8 @@
 static const unsigned char band_allocation[] = {
 /*0  200 400 600 800  1k 1.2 1.4 1.6  2k 2.4 2.8 3.2  4k 4.8 5.6 6.8  8k 9.6 12k 15.6 */
   0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,
- 40, 40, 56, 44, 40, 32, 24, 20, 40, 48, 52, 44, 32, 16,  8,  4,  0,  0,  0,  0,  0,
- 52, 40, 68, 64, 56, 48, 40, 32, 48, 56, 56, 48, 36, 20, 12,  8,  8,  4,  0,  0,  0,
- 68, 84, 92,104, 96, 80, 68, 64, 68, 72, 64, 56, 44, 24, 12,  8,  8,  4,  4,  0,  0,
+ 40, 40, 40, 40, 40, 40, 40, 42, 44, 48, 52, 44, 32, 16,  8,  4,  0,  0,  0,  0,  0,
+ 84, 84, 87, 90, 88, 84, 78, 74, 70, 65, 60, 54, 40, 20, 12,  8,  8,  4,  4,  0,  0,
 100,100,110,110,100, 96, 90, 88, 84, 76, 68, 60, 44, 28, 20, 20, 20, 12, 12,  0,  0,
 130,130,130,128,120,112,104,104,100, 96, 76, 68, 60, 52, 36, 36, 32, 28, 20,  8,  0,
 168,168,168,148,140,136,135,130,136,140,128,124,108, 96, 88, 83, 72, 56, 44, 28,  2,