OSDN Git Service

add a parameter for PCM limiter enable
authorChong Zhang <chz@google.com>
Wed, 1 Oct 2014 04:50:08 +0000 (21:50 -0700)
committerChong Zhang <chz@google.com>
Wed, 1 Oct 2014 17:39:10 +0000 (10:39 -0700)
Bug: 17470065
Change-Id: I327115fc16e7afe2bf5870e123d63f9887161206

include/media/openmax/OMX_AudioExt.h

index 8a2c4de..5ac15f7 100644 (file)
@@ -81,6 +81,7 @@ typedef struct OMX_AUDIO_PARAM_ANDROID_AACPRESENTATIONTYPE {
     OMX_S32 nHeavyCompression;     /**< 0 for light compression, 1 for heavy compression, -1 if unspecified */
     OMX_S32 nTargetReferenceLevel; /**< Target reference level, between 0 and 127, -1 if unspecified */
     OMX_S32 nEncodedTargetLevel;   /**< Target reference level assumed at the encoder, between 0 and 127, -1 if unspecified */
+    OMX_S32 nPCMLimiterEnable;     /**< Signal level limiting, 0 for disable, 1 for enable, -1 if unspecified */
 } OMX_AUDIO_PARAM_ANDROID_AACPRESENTATIONTYPE;
 
 #ifdef __cplusplus