aboutsummaryrefslogtreecommitdiffstats
path: root/libDRCdec/src/drcDec_selectionProcess.cpp
diff options
context:
space:
mode:
authorFraunhofer IIS FDK <audio-fdk@iis.fraunhofer.de>2019-04-24 21:09:33 -0700
committerandroid-build-merger <android-build-merger@google.com>2019-04-24 21:09:33 -0700
commit3c1da493c8af2c9be589afc40913b7cb0b6014e3 (patch)
treea649b78f44d36a62276b1a0e009c95de0856ba4a /libDRCdec/src/drcDec_selectionProcess.cpp
parentc97a7cf298c330964029364d340bb02e67d14dc2 (diff)
parent7f075eb874c5391ef1678caf732395b073450542 (diff)
downloadfdk-aac-3c1da493c8af2c9be589afc40913b7cb0b6014e3.tar.gz
fdk-aac-3c1da493c8af2c9be589afc40913b7cb0b6014e3.tar.bz2
fdk-aac-3c1da493c8af2c9be589afc40913b7cb0b6014e3.zip
Add support for Album Mode (FDKdec v3.1.0). am: 37972d5a1f
am: 7f075eb874 Change-Id: I2d0497ded78ea8a8136ed36b2284b86be723cf66
Diffstat (limited to 'libDRCdec/src/drcDec_selectionProcess.cpp')
-rw-r--r--libDRCdec/src/drcDec_selectionProcess.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/libDRCdec/src/drcDec_selectionProcess.cpp b/libDRCdec/src/drcDec_selectionProcess.cpp
index 5653e22..37f5722 100644
--- a/libDRCdec/src/drcDec_selectionProcess.cpp
+++ b/libDRCdec/src/drcDec_selectionProcess.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
@@ -555,6 +555,11 @@ drcDec_SelectionProcess_SetParam(HANDLE_DRC_SELECTION_PROCESS hInstance,
diff |= _compAssign(&pSelProcInput->loudnessMeasurementMethod,
requestValueInt);
break;
+ case SEL_PROC_ALBUM_MODE:
+ if ((requestValueInt < 0) || (requestValueInt > 1))
+ return DRCDEC_SELECTION_PROCESS_PARAM_OUT_OF_RANGE;
+ diff |= _compAssign(&pSelProcInput->albumMode, requestValueInt);
+ break;
case SEL_PROC_DOWNMIX_ID:
diff |=
_compAssign(&pSelProcInput->targetConfigRequestType, TCRT_DOWNMIX_ID);