summaryrefslogtreecommitdiffstats
path: root/libAACenc/src/aacenc_tns.cpp
diff options
context:
space:
mode:
authorMathias Coinchon <coinchon@yahoo.com>2014-12-23 17:33:12 +0100
committerMathias Coinchon <coinchon@yahoo.com>2014-12-23 17:33:12 +0100
commitbe56dcde84b8d25ff7c06ab464afdb06f3c0e832 (patch)
tree8f577e793b1536e693521427d60fb981cc1b26de /libAACenc/src/aacenc_tns.cpp
parent432c89bd6584497d9c94cd115dbdd00bf60c8177 (diff)
downloadODR-AudioEnc-be56dcde84b8d25ff7c06ab464afdb06f3c0e832.tar.gz
ODR-AudioEnc-be56dcde84b8d25ff7c06ab464afdb06f3c0e832.tar.bz2
ODR-AudioEnc-be56dcde84b8d25ff7c06ab464afdb06f3c0e832.zip
Added missing sampling frequencies for 960 transform. Clarified sfb table list.
Diffstat (limited to 'libAACenc/src/aacenc_tns.cpp')
-rw-r--r--libAACenc/src/aacenc_tns.cpp11
1 files changed, 8 insertions, 3 deletions
diff --git a/libAACenc/src/aacenc_tns.cpp b/libAACenc/src/aacenc_tns.cpp
index eca892e..76de985 100644
--- a/libAACenc/src/aacenc_tns.cpp
+++ b/libAACenc/src/aacenc_tns.cpp
@@ -188,12 +188,17 @@ static const TNS_MAX_TAB_ENTRY tnsMaxBandsTab1024[] =
static const TNS_MAX_TAB_ENTRY tnsMaxBandsTab960[] =
{
+ { 96000, { 31, 9}},
+ { 88200, { 31, 9}},
+ { 64000, { 34, 10}},
{ 48000, { 49, 14}},
{ 44100, { 49, 14}},
{ 32000, { 49, 14}},
{ 24000, { 46, 15}},
- { 22050, { 46, 15}},
- { 16000, { 42, 15}},
+ { 22050, { 46, 14}},
+ { 16000, { 46, 15}},
+ { 12000, { 42, 15}},
+ { 11025, { 42, 15}},
{ 8000, { 40, 15}}
};
@@ -202,7 +207,7 @@ static const TNS_MAX_TAB_ENTRY tnsMaxBandsTab480[] =
{ 48000, { 31, -1}},
{ 44100, { 32, -1}},
{ 32000, { 37, -1}},
- { 24000, { 30, -1}},
+ { 24001, { 30, -1}},
{ 22050, { 30, -1}}
};