diff options
author | Fraunhofer IIS FDK <audio-fdk@iis.fraunhofer.de> | 2019-04-24 20:46:45 -0700 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2019-04-24 20:46:45 -0700 |
commit | 7f075eb874c5391ef1678caf732395b073450542 (patch) | |
tree | a649b78f44d36a62276b1a0e009c95de0856ba4a /libAACdec/src | |
parent | e146ca7b294a53ee349a162ae3e3ebdb1a931c16 (diff) | |
parent | 37972d5a1f175173c2747c043ae6f3d1a142d28a (diff) | |
download | fdk-aac-7f075eb874c5391ef1678caf732395b073450542.tar.gz fdk-aac-7f075eb874c5391ef1678caf732395b073450542.tar.bz2 fdk-aac-7f075eb874c5391ef1678caf732395b073450542.zip |
Add support for Album Mode (FDKdec v3.1.0).
am: 37972d5a1f
Change-Id: I536a2e47c552f10a50adb6e8c6439a6544e53725
Diffstat (limited to 'libAACdec/src')
-rw-r--r-- | libAACdec/src/aacdecoder_lib.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/libAACdec/src/aacdecoder_lib.cpp b/libAACdec/src/aacdecoder_lib.cpp index c214ba1..d0e4ebc 100644 --- a/libAACdec/src/aacdecoder_lib.cpp +++ b/libAACdec/src/aacdecoder_lib.cpp @@ -1,7 +1,7 @@ /* ----------------------------------------------------------------------------- Software License for The Fraunhofer FDK AAC Codec Library for Android -© Copyright 1995 - 2018 Fraunhofer-Gesellschaft zur Förderung der angewandten +© Copyright 1995 - 2019 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. All rights reserved. 1. INTRODUCTION @@ -119,7 +119,7 @@ amm-info@iis.fraunhofer.de /* Decoder library info */ #define AACDECODER_LIB_VL0 3 -#define AACDECODER_LIB_VL1 0 +#define AACDECODER_LIB_VL1 1 #define AACDECODER_LIB_VL2 0 #define AACDECODER_LIB_TITLE "AAC Decoder Lib" #ifdef __ANDROID__ @@ -871,6 +871,11 @@ LINKSPEC_CPP AAC_DECODER_ERROR aacDecoder_SetParam( uniDrcErr = FDK_drcDec_SetParam(self->hUniDrcDecoder, DRC_DEC_EFFECT_TYPE, (FIXP_DBL)value); break; + case AAC_UNIDRC_ALBUM_MODE: + uniDrcErr = FDK_drcDec_SetParam(self->hUniDrcDecoder, DRC_DEC_ALBUM_MODE, + (FIXP_DBL)value); + break; + case AAC_TPDEC_CLEAR_BUFFER: errTp = transportDec_SetParam(hTpDec, TPDEC_PARAM_RESET, 1); self->streamInfo.numLostAccessUnits = 0; |