aboutsummaryrefslogtreecommitdiffstats
path: root/libDRCdec/include
diff options
context:
space:
mode:
authorXin Li <delphij@google.com>2020-08-27 10:16:06 -0700
committerXin Li <delphij@google.com>2020-08-27 10:16:06 -0700
commit7a0dde5d5dc4d24095c0391e7fa8297de3c7cd45 (patch)
tree0e353968c34e8c9699663a9b252836b70847c30b /libDRCdec/include
parent946a672b0f5b8481eb3a429f854fcb34d847d692 (diff)
parente0624f4c05df8b171555bc8c8748ee93655f5b3e (diff)
downloadfdk-aac-7a0dde5d5dc4d24095c0391e7fa8297de3c7cd45.tar.gz
fdk-aac-7a0dde5d5dc4d24095c0391e7fa8297de3c7cd45.tar.bz2
fdk-aac-7a0dde5d5dc4d24095c0391e7fa8297de3c7cd45.zip
Merge Android R (rvc-dev-plus-aosp-without-vendor@6692709)
Bug: 166295507 Merged-In: I9bd31724ae68b9a0b3eb4bb5be3782359824aa1f Change-Id: Idcdb13a8c37b0b4b5446169c3e80dfe55586bc77
Diffstat (limited to 'libDRCdec/include')
-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 {