Package: android.hardware.audio.effect@2.0

IAutomaticGainControlEffect

interface IAutomaticGainControlEffect extends IEffect

Properties

AllProperties

struct AllProperties {int16_t targetLevelMb; int16_t compGainMb; bool limiterEnabled}
Details
Members
targetLevelMb
compGainMb
limiterEnabled

Methods

setTargetLevel

setTargetLevel (int16_t targetLevelMb)
generates (Result retval)

Sets target level in millibels.

Details
Parameters
targetLevelMb
Generates
retval

getTargetLevel

getTargetLevel ()
generates (Result retval, int16_t targetLevelMb)

Gets target level.

Details
Generates
retval
targetLevelMb

setCompGain

setCompGain (int16_t compGainMb)
generates (Result retval)

Sets gain in the compression range in millibels.

Details
Parameters
compGainMb
Generates
retval

getCompGain

getCompGain ()
generates (Result retval, int16_t compGainMb)

Gets gain in the compression range.

Details
Generates
retval
compGainMb

setLimiterEnabled

setLimiterEnabled (bool enabled)
generates (Result retval)

Enables or disables limiter.

Details
Parameters
enabled
Generates
retval

isLimiterEnabled

isLimiterEnabled ()
generates (Result retval, bool enabled)

Returns whether limiter is enabled.

Details
Generates
retval
enabled

setAllProperties

setAllProperties (AllProperties properties)
generates (Result retval)

Sets all properties at once.

Details
Parameters
properties
Generates
retval

getAllProperties

getAllProperties ()
generates (Result retval, AllProperties properties)

Gets all properties at once.

Details
Generates
retval
properties