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/sbrdecoder.cpp | |
parent | dd68dcdb756966b80ad86268d7fe45b3434374c9 (diff) | |
download | ODR-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/sbrdecoder.cpp')
-rw-r--r-- | libSBRdec/src/sbrdecoder.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libSBRdec/src/sbrdecoder.cpp b/libSBRdec/src/sbrdecoder.cpp index 192bdd2..3b3fcc5 100644 --- a/libSBRdec/src/sbrdecoder.cpp +++ b/libSBRdec/src/sbrdecoder.cpp @@ -217,14 +217,14 @@ SBR_ERROR sbrDecoder_ResetElement ( /* Check in/out samplerates */ if ( sampleRateIn < 6400 - || sampleRateIn > 24000 + || sampleRateIn > 48000 ) { sbrError = SBRDEC_UNSUPPORTED_CONFIG; goto bail; } - if ( sampleRateOut > 48000 ) + if ( sampleRateOut > 96000 ) { sbrError = SBRDEC_UNSUPPORTED_CONFIG; goto bail; |