From 8bd0baee9e37c226c6e30593be90e8ecdb559f2e Mon Sep 17 00:00:00 2001 From: Jean-Michel Trivi Date: Thu, 18 Apr 2013 10:59:16 -0700 Subject: Fix HE-AAC SBR ignored high-freq data Change-Id: I12d284477f07349368e714ba52cbb2a47b024554 (cherry picked from commit a889574e60a02bbc647d3b078d2727cb48d82e5a) --- libSBRdec/src/sbrdec_freq_sca.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'libSBRdec/src/sbrdec_freq_sca.cpp') 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; -- cgit v1.2.3