aboutsummaryrefslogtreecommitdiffstats
path: root/libDRCdec/include/FDK_drcDecLib.h
diff options
context:
space:
mode:
authorXin Li <delphij@google.com>2020-09-08 16:53:57 -0700
committerXin Li <delphij@google.com>2020-09-08 16:53:57 -0700
commit7f7e67fe023aa5e479aba0388a7e3fb591bda4e5 (patch)
tree0e353968c34e8c9699663a9b252836b70847c30b /libDRCdec/include/FDK_drcDecLib.h
parent946a672b0f5b8481eb3a429f854fcb34d847d692 (diff)
parent7a0dde5d5dc4d24095c0391e7fa8297de3c7cd45 (diff)
downloadfdk-aac-7f7e67fe023aa5e479aba0388a7e3fb591bda4e5.tar.gz
fdk-aac-7f7e67fe023aa5e479aba0388a7e3fb591bda4e5.tar.bz2
fdk-aac-7f7e67fe023aa5e479aba0388a7e3fb591bda4e5.zip
Merge Android R
Bug: 168057903 Merged-In: Idcdb13a8c37b0b4b5446169c3e80dfe55586bc77 Change-Id: I29b7ae1003fb72aeb5fbf1fdfdceea849c1c12b8
Diffstat (limited to 'libDRCdec/include/FDK_drcDecLib.h')
-rw-r--r--libDRCdec/include/FDK_drcDecLib.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/libDRCdec/include/FDK_drcDecLib.h b/libDRCdec/include/FDK_drcDecLib.h
index 2d28d23..79f8566 100644
--- a/libDRCdec/include/FDK_drcDecLib.h
+++ b/libDRCdec/include/FDK_drcDecLib.h
@@ -114,6 +114,8 @@ amm-info@iis.fraunhofer.de
extern "C" {
#endif
+#define DRC_DEC_LOUDNESS_NOT_PRESENT (LONG)0x7FFFFFFE
+
typedef struct s_drc_decoder* HANDLE_DRC_DECODER;
typedef struct s_uni_drc_interface* HANDLE_UNI_DRC_INTERFACE;
typedef struct s_selection_process_output* HANDLE_SEL_PROC_OUTPUT;
@@ -150,9 +152,12 @@ typedef enum {
DRC_DEC_IS_ACTIVE, /**< MPEG-D DRC payload is present and at least one of
Dynamic Range Control (DRC) or Loudness Normalization
(LN) is activated */
- DRC_DEC_TARGET_CHANNEL_COUNT_SELECTED /**< number of output channels if
- appropriate downmixInstruction exists
- */
+ DRC_DEC_TARGET_CHANNEL_COUNT_SELECTED, /**< number of output channels if
+ appropriate downmixInstruction
+ exists */
+ DRC_DEC_OUTPUT_LOUDNESS /**< output loudness in dB, with exponent e = 7, or
+ DRC_DEC_LOUDNESS_NOT_PRESENT if no loudness is
+ contained in the bitstream */
} DRC_DEC_USERPARAM;
typedef enum {