aboutsummaryrefslogtreecommitdiffstats
path: root/libSBRdec/src/sbrdec_freq_sca.cpp
diff options
context:
space:
mode:
authorJean-Michel Trivi <jmtrivi@google.com>2013-04-18 10:59:16 -0700
committerJean-Michel Trivi <jmtrivi@google.com>2013-08-05 19:23:49 +0000
commit8bd0baee9e37c226c6e30593be90e8ecdb559f2e (patch)
tree9e8923c71a5358b806d7131302f902475deb4fc2 /libSBRdec/src/sbrdec_freq_sca.cpp
parentdd68dcdb756966b80ad86268d7fe45b3434374c9 (diff)
downloadODR-AudioEnc-8bd0baee9e37c226c6e30593be90e8ecdb559f2e.tar.gz
ODR-AudioEnc-8bd0baee9e37c226c6e30593be90e8ecdb559f2e.tar.bz2
ODR-AudioEnc-8bd0baee9e37c226c6e30593be90e8ecdb559f2e.zip
Fix HE-AAC SBR ignored high-freq data
Change-Id: I12d284477f07349368e714ba52cbb2a47b024554 (cherry picked from commit a889574e60a02bbc647d3b078d2727cb48d82e5a)
Diffstat (limited to 'libSBRdec/src/sbrdec_freq_sca.cpp')
-rw-r--r--libSBRdec/src/sbrdec_freq_sca.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/libSBRdec/src/sbrdec_freq_sca.cpp b/libSBRdec/src/sbrdec_freq_sca.cpp
index b877545..e9023ee 100644
--- a/libSBRdec/src/sbrdec_freq_sca.cpp
+++ b/libSBRdec/src/sbrdec_freq_sca.cpp
@@ -124,6 +124,13 @@ getStartBand(UINT fs, /*!< Output sampling frequency */
fsMapped = fs;
switch (fsMapped) {
+ case 96000:
+ case 88200:
+ band = FDK_sbrDecoder_sbr_start_freq_88[startFreq];
+ break;
+ case 64000:
+ band = FDK_sbrDecoder_sbr_start_freq_64[startFreq];
+ break;
case 48000:
band = FDK_sbrDecoder_sbr_start_freq_48[startFreq];
break;