diff options
author | Jean-Michel Trivi <jmtrivi@google.com> | 2013-04-18 10:59:16 -0700 |
---|---|---|
committer | Jean-Michel Trivi <jmtrivi@google.com> | 2013-08-05 19:23:49 +0000 |
commit | 8bd0baee9e37c226c6e30593be90e8ecdb559f2e (patch) | |
tree | 9e8923c71a5358b806d7131302f902475deb4fc2 /libSBRdec/src/sbrdec_freq_sca.cpp | |
parent | dd68dcdb756966b80ad86268d7fe45b3434374c9 (diff) | |
download | fdk-aac-dabplus-8bd0baee9e37c226c6e30593be90e8ecdb559f2e.tar.gz fdk-aac-dabplus-8bd0baee9e37c226c6e30593be90e8ecdb559f2e.tar.bz2 fdk-aac-dabplus-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.cpp | 7 |
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; |