diff options
author | Fraunhofer IIS FDK <audio-fdk@iis.fraunhofer.de> | 2019-12-19 17:21:07 +0100 |
---|---|---|
committer | Jean-Michel Trivi <jmtrivi@google.com> | 2020-02-11 16:02:32 -0800 |
commit | 31f66f6d3ffcfa429c170b2c35250982d11f5082 (patch) | |
tree | c7e87162565c1b45af14c32d11fa71f2489e760a /libDRCdec/src/FDK_drcDecLib.cpp | |
parent | 3255d513ce56f98085d77dd7b92840b73ab4cfd3 (diff) | |
download | fdk-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 'libDRCdec/src/FDK_drcDecLib.cpp')
-rw-r--r-- | libDRCdec/src/FDK_drcDecLib.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libDRCdec/src/FDK_drcDecLib.cpp b/libDRCdec/src/FDK_drcDecLib.cpp index e43279f..83b5773 100644 --- a/libDRCdec/src/FDK_drcDecLib.cpp +++ b/libDRCdec/src/FDK_drcDecLib.cpp @@ -519,6 +519,8 @@ LONG FDK_drcDec_GetParam(HANDLE_DRC_DECODER hDrcDec, } case DRC_DEC_TARGET_CHANNEL_COUNT_SELECTED: return (LONG)hDrcDec->selProcOutput.targetChannelCount; + case DRC_DEC_OUTPUT_LOUDNESS: + return (LONG)hDrcDec->selProcOutput.outputLoudness; default: return 0; } |