aboutsummaryrefslogtreecommitdiffstats
path: root/libAACdec/src/aacdecoder.cpp
diff options
context:
space:
mode:
authorFraunhofer IIS FDK <audio-fdk@iis.fraunhofer.de>2019-12-19 17:21:07 +0100
committerJean-Michel Trivi <jmtrivi@google.com>2020-02-11 16:02:32 -0800
commit31f66f6d3ffcfa429c170b2c35250982d11f5082 (patch)
treec7e87162565c1b45af14c32d11fa71f2489e760a /libAACdec/src/aacdecoder.cpp
parent3255d513ce56f98085d77dd7b92840b73ab4cfd3 (diff)
downloadfdk-aac-31f66f6d3ffcfa429c170b2c35250982d11f5082.tar.gz
fdk-aac-31f66f6d3ffcfa429c170b2c35250982d11f5082.tar.bz2
fdk-aac-31f66f6d3ffcfa429c170b2c35250982d11f5082.zip
Extend decoder API with audio output loudness info (FDKdec v3.1.3).
Bug: 148385721 Test: atest DecoderTestXheAac DecoderTestAacDrc Change-Id: I68b09883def21baef259c9ab914922567ab8cee3
Diffstat (limited to 'libAACdec/src/aacdecoder.cpp')
-rw-r--r--libAACdec/src/aacdecoder.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/libAACdec/src/aacdecoder.cpp b/libAACdec/src/aacdecoder.cpp
index bd12d96..f747b2d 100644
--- a/libAACdec/src/aacdecoder.cpp
+++ b/libAACdec/src/aacdecoder.cpp
@@ -1225,6 +1225,8 @@ static void CStreamInfoInit(CStreamInfo *pStreamInfo) {
pStreamInfo->drcProgRefLev =
-1; /* set program reference level to not indicated */
pStreamInfo->drcPresMode = -1; /* default: presentation mode not indicated */
+
+ pStreamInfo->outputLoudness = -1; /* default: no loudness metadata present */
}
/*!