aboutsummaryrefslogtreecommitdiffstats
path: root/libDRCdec/src/drcDec_gainDecoder.h
diff options
context:
space:
mode:
authorFraunhofer IIS FDK <audio-fdk@iis.fraunhofer.de>2019-05-14 13:49:34 -0700
committerandroid-build-merger <android-build-merger@google.com>2019-05-14 13:49:34 -0700
commite48f30ae1f536b836267bcf103db8c38a3d2592a (patch)
treeeb79a0e826e3165de4b16e3259622623dfe119f0 /libDRCdec/src/drcDec_gainDecoder.h
parent47697ab8f4b11c45dc3bda52e30f9f6946a2c2bd (diff)
parentb1dbb88c464317c3f51c0ec6fccad9b35ab45d5c (diff)
downloadfdk-aac-e48f30ae1f536b836267bcf103db8c38a3d2592a.tar.gz
fdk-aac-e48f30ae1f536b836267bcf103db8c38a3d2592a.tar.bz2
fdk-aac-e48f30ae1f536b836267bcf103db8c38a3d2592a.zip
Fix HE-AAC using MPEG-D DRC with implicit SBR signaling. am: e970ac4c95
am: b1dbb88c46 Change-Id: Id2112f143ab76559d799f6168b04d699576a9cc7
Diffstat (limited to 'libDRCdec/src/drcDec_gainDecoder.h')
-rw-r--r--libDRCdec/src/drcDec_gainDecoder.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/libDRCdec/src/drcDec_gainDecoder.h b/libDRCdec/src/drcDec_gainDecoder.h
index 2f4df4c..394b455 100644
--- a/libDRCdec/src/drcDec_gainDecoder.h
+++ b/libDRCdec/src/drcDec_gainDecoder.h
@@ -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
@@ -134,6 +134,8 @@ typedef enum {
GAIN_DEC_DRC2_DRC3
} GAIN_DEC_LOCATION;
+typedef enum { GAIN_DEC_FRAME_SIZE, GAIN_DEC_SAMPLE_RATE } GAIN_DEC_PARAM;
+
typedef struct {
FIXP_DBL gainLin; /* e = 7 */
SHORT time;
@@ -195,8 +197,12 @@ DRC_ERROR
drcDec_GainDecoder_Open(HANDLE_DRC_GAIN_DECODER* phGainDec);
DRC_ERROR
-drcDec_GainDecoder_Init(HANDLE_DRC_GAIN_DECODER hGainDec, const int frameSize,
- const int sampleRate);
+drcDec_GainDecoder_Init(HANDLE_DRC_GAIN_DECODER hGainDec);
+
+DRC_ERROR
+drcDec_GainDecoder_SetParam(HANDLE_DRC_GAIN_DECODER hGainDec,
+ const GAIN_DEC_PARAM paramType,
+ const int paramValue);
DRC_ERROR
drcDec_GainDecoder_SetCodecDependentParameters(