# DynamicsProcessing

Added in[API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  
Summary:[Nested Classes](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing#nestedclasses)\|[Constants](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing#constants)\|[Inherited Constants](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing#inhconstants)\|[Inherited Fields](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing#inhfields)\|[Ctors](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing#pubctors)\|[Methods](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing#pubmethods)\|[Inherited Methods](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing#inhmethods)  

# DynamicsProcessing

*** ** * ** ***

[Kotlin](https://developer.android.com/reference/kotlin/android/media/audiofx/DynamicsProcessing "View this page in Kotlin")\|Java

`
public

final

class
DynamicsProcessing
`  
`


``

extends `[AudioEffect](https://developer.android.com/reference/android/media/audiofx/AudioEffect)`


``


`

|---|---|------------------------------------------|
| [java.lang.Object](https://developer.android.com/reference/java/lang/Object) |||
| ↳ | [android.media.audiofx.AudioEffect](https://developer.android.com/reference/android/media/audiofx/AudioEffect) ||
|   | ↳ | android.media.audiofx.DynamicsProcessing |

<br />

*** ** * ** ***

DynamicsProcessing is an audio effect for equalizing and changing dynamic range properties of the sound. It is composed of multiple stages including equalization, multi-band compression and limiter.

The number of bands and active stages is configurable, and most parameters can be controlled in realtime, such as gains, attack/release times, thresholds, etc.

The effect is instantiated and controlled by channels. Each channel has the same basic architecture, but all of their parameters are independent from other channels.

The basic channel configuration is:  

```
    Channel 0          Channel 1       ....       Channel N-1
      Input              Input                       Input
        |                  |                           |
   +----v----+        +----v----+                 +----v----+
   |inputGain|        |inputGain|                 |inputGain|
   +---------+        +---------+                 +---------+
        |                  |                           |
  +-----v-----+      +-----v-----+               +-----v-----+
  |   PreEQ   |      |   PreEQ   |               |   PreEQ   |
  +-----------+      +-----------+               +-----------+
        |                  |                           |
  +-----v-----+      +-----v-----+               +-----v-----+
  |    MBC    |      |    MBC    |               |    MBC    |
  +-----------+      +-----------+               +-----------+
        |                  |                           |
  +-----v-----+      +-----v-----+               +-----v-----+
  |  PostEQ   |      |  PostEQ   |               |  PostEQ   |
  +-----------+      +-----------+               +-----------+
        |                  |                           |
  +-----v-----+      +-----v-----+               +-----v-----+
  |  Limiter  |      |  Limiter  |               |  Limiter  |
  +-----------+      +-----------+               +-----------+
        |                  |                           |
     Output             Output                      Output
 
```

Where the stages are: inputGain: input gain factor in decibels (dB). 0 dB means no change in level. PreEQ: Multi-band Equalizer. MBC: Multi-band Compressor PostEQ: Multi-band Equalizer Limiter: Single band compressor/limiter.

An application creates a DynamicsProcessing object to instantiate and control this audio effect in the audio framework. A DynamicsProcessor.Config and DynamicsProcessor.Config.Builder are available to help configure the multiple stages and each band parameters if desired.

See each stage documentation for further details.

If no Config is specified during creation, a default configuration is chosen.

To attach the DynamicsProcessing to a particular AudioTrack or MediaPlayer, specify the audio session ID of this AudioTrack or MediaPlayer when constructing the effect (see[AudioTrack.getAudioSessionId()](https://developer.android.com/reference/android/media/AudioTrack#getAudioSessionId())and[MediaPlayer.getAudioSessionId()](https://developer.android.com/reference/android/media/MediaPlayer#getAudioSessionId())).

To attach the DynamicsProcessing to a particular AudioTrack or MediaPlayer, specify the audio session ID of this AudioTrack or MediaPlayer when constructing the DynamicsProcessing.

See[MediaPlayer.getAudioSessionId()](https://developer.android.com/reference/android/media/MediaPlayer#getAudioSessionId())for details on audio sessions.

See[AudioEffect](https://developer.android.com/reference/android/media/audiofx/AudioEffect)class for more details on controlling audio effects.

## Summary

|                                                                                                                                                                            ### Nested classes                                                                                                                                                                             ||
|----------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ` class` | [DynamicsProcessing.BandBase](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing.BandBase) Base class for bands                                                                                                                                                                                                                   |
| ` class` | [DynamicsProcessing.BandStage](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing.BandStage) Base class for stages that hold bands                                                                                                                                                                                                |
| ` class` | [DynamicsProcessing.Channel](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing.Channel) Class for Channel configuration parameters.                                                                                                                                                                                              |
| ` class` | [DynamicsProcessing.Config](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing.Config) Class for Config object, used by DynamicsProcessing to configure and update the audio effect.                                                                                                                                              |
| ` class` | [DynamicsProcessing.Eq](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing.Eq) Class for Equalizer stage                                                                                                                                                                                                                          |
| ` class` | [DynamicsProcessing.EqBand](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing.EqBand) Class for Equalizer Bands Equalizer bands have three controllable parameters: enabled/disabled, cutoffFrequency and gain                                                                                                                   |
| ` class` | [DynamicsProcessing.Limiter](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing.Limiter) Class for Limiter Stage Limiter is a single band compressor at the end of the processing chain, commonly used to protect the signal from overloading and distortion.                                                                     |
| ` class` | [DynamicsProcessing.Mbc](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing.Mbc) Class for Multi-Band Compressor (MBC) stage                                                                                                                                                                                                      |
| ` class` | [DynamicsProcessing.MbcBand](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing.MbcBand) Class for Multi-Band compressor bands MBC bands have multiple controllable parameters: enabled/disabled, cutoffFrequency, attackTime, releaseTime, ratio, threshold, kneeWidth, noiseGateThreshold, expanderRatio, preGain and postGain. |
| ` class` | [DynamicsProcessing.Stage](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing.Stage) base class for the different stages.                                                                                                                                                                                                         |

|                                                                                                    ### Constants                                                                                                    ||
|-------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `int` | [VARIANT_FAVOR_FREQUENCY_RESOLUTION](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing#VARIANT_FAVOR_FREQUENCY_RESOLUTION) Index of variant that favors frequency resolution. |
| `int` | [VARIANT_FAVOR_TIME_RESOLUTION](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing#VARIANT_FAVOR_TIME_RESOLUTION) Index of variant that favors time resolution resolution.     |

|                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     ### Inherited constants                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| From class[android.media.audiofx.AudioEffect](https://developer.android.com/reference/android/media/audiofx/AudioEffect) |--------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | [String](https://developer.android.com/reference/java/lang/String) | [ACTION_CLOSE_AUDIO_EFFECT_CONTROL_SESSION](https://developer.android.com/reference/android/media/audiofx/AudioEffect#ACTION_CLOSE_AUDIO_EFFECT_CONTROL_SESSION) Intent to signal to the effect control application or service that an audio session is closed and that effects should not be applied anymore. | | [String](https://developer.android.com/reference/java/lang/String) | [ACTION_DISPLAY_AUDIO_EFFECT_CONTROL_PANEL](https://developer.android.com/reference/android/media/audiofx/AudioEffect#ACTION_DISPLAY_AUDIO_EFFECT_CONTROL_PANEL) Intent to launch an audio effect control panel UI.                                                                                            | | [String](https://developer.android.com/reference/java/lang/String) | [ACTION_OPEN_AUDIO_EFFECT_CONTROL_SESSION](https://developer.android.com/reference/android/media/audiofx/AudioEffect#ACTION_OPEN_AUDIO_EFFECT_CONTROL_SESSION) Intent to signal to the effect control application or service that a new audio session is opened and requires audio effects to be applied.      | | `int`                                                              | [ALREADY_EXISTS](https://developer.android.com/reference/android/media/audiofx/AudioEffect#ALREADY_EXISTS) Internal operation status.                                                                                                                                                                          | | `int`                                                              | [CONTENT_TYPE_GAME](https://developer.android.com/reference/android/media/audiofx/AudioEffect#CONTENT_TYPE_GAME) Value for[EXTRA_CONTENT_TYPE](https://developer.android.com/reference/android/media/audiofx/AudioEffect#EXTRA_CONTENT_TYPE)when the type of content played is game audio                      | | `int`                                                              | [CONTENT_TYPE_MOVIE](https://developer.android.com/reference/android/media/audiofx/AudioEffect#CONTENT_TYPE_MOVIE) Value for[EXTRA_CONTENT_TYPE](https://developer.android.com/reference/android/media/audiofx/AudioEffect#EXTRA_CONTENT_TYPE)when the type of content played is video or movie                | | `int`                                                              | [CONTENT_TYPE_MUSIC](https://developer.android.com/reference/android/media/audiofx/AudioEffect#CONTENT_TYPE_MUSIC) Value for[EXTRA_CONTENT_TYPE](https://developer.android.com/reference/android/media/audiofx/AudioEffect#EXTRA_CONTENT_TYPE)when the type of content played is music                         | | `int`                                                              | [CONTENT_TYPE_VOICE](https://developer.android.com/reference/android/media/audiofx/AudioEffect#CONTENT_TYPE_VOICE) Value for[EXTRA_CONTENT_TYPE](https://developer.android.com/reference/android/media/audiofx/AudioEffect#EXTRA_CONTENT_TYPE)when the type of content played is voice audio                   | | [String](https://developer.android.com/reference/java/lang/String) | [EFFECT_AUXILIARY](https://developer.android.com/reference/android/media/audiofx/AudioEffect#EFFECT_AUXILIARY) Effect connection mode is auxiliary.                                                                                                                                                            | | [String](https://developer.android.com/reference/java/lang/String) | [EFFECT_INSERT](https://developer.android.com/reference/android/media/audiofx/AudioEffect#EFFECT_INSERT) Effect connection mode is insert.                                                                                                                                                                     | | [String](https://developer.android.com/reference/java/lang/String) | [EFFECT_POST_PROCESSING](https://developer.android.com/reference/android/media/audiofx/AudioEffect#EFFECT_POST_PROCESSING) Effect connection mode is post processing.                                                                                                                                          | | [String](https://developer.android.com/reference/java/lang/String) | [EFFECT_PRE_PROCESSING](https://developer.android.com/reference/android/media/audiofx/AudioEffect#EFFECT_PRE_PROCESSING) Effect connection mode is pre processing.                                                                                                                                             | | `int`                                                              | [ERROR](https://developer.android.com/reference/android/media/audiofx/AudioEffect#ERROR) Unspecified error.                                                                                                                                                                                                    | | `int`                                                              | [ERROR_BAD_VALUE](https://developer.android.com/reference/android/media/audiofx/AudioEffect#ERROR_BAD_VALUE) Operation failed due to bad parameter value.                                                                                                                                                      | | `int`                                                              | [ERROR_DEAD_OBJECT](https://developer.android.com/reference/android/media/audiofx/AudioEffect#ERROR_DEAD_OBJECT) Operation failed due to dead remote object.                                                                                                                                                   | | `int`                                                              | [ERROR_INVALID_OPERATION](https://developer.android.com/reference/android/media/audiofx/AudioEffect#ERROR_INVALID_OPERATION) Operation failed because it was requested in wrong state.                                                                                                                         | | `int`                                                              | [ERROR_NO_INIT](https://developer.android.com/reference/android/media/audiofx/AudioEffect#ERROR_NO_INIT) Operation failed due to bad object initialization.                                                                                                                                                    | | `int`                                                              | [ERROR_NO_MEMORY](https://developer.android.com/reference/android/media/audiofx/AudioEffect#ERROR_NO_MEMORY) Operation failed due to lack of memory.                                                                                                                                                           | | [String](https://developer.android.com/reference/java/lang/String) | [EXTRA_AUDIO_SESSION](https://developer.android.com/reference/android/media/audiofx/AudioEffect#EXTRA_AUDIO_SESSION) Contains the ID of the audio session the effects should be applied to.                                                                                                                    | | [String](https://developer.android.com/reference/java/lang/String) | [EXTRA_CONTENT_TYPE](https://developer.android.com/reference/android/media/audiofx/AudioEffect#EXTRA_CONTENT_TYPE) Indicates which type of content is played by the application.                                                                                                                               | | [String](https://developer.android.com/reference/java/lang/String) | [EXTRA_PACKAGE_NAME](https://developer.android.com/reference/android/media/audiofx/AudioEffect#EXTRA_PACKAGE_NAME) Contains the package name of the calling application.                                                                                                                                       | | `int`                                                              | [SUCCESS](https://developer.android.com/reference/android/media/audiofx/AudioEffect#SUCCESS) Successful operation.                                                                                                                                                                                             | |

|                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       ### Inherited fields                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| From class[android.media.audiofx.AudioEffect](https://developer.android.com/reference/android/media/audiofx/AudioEffect) |---------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ` public static final `[UUID](https://developer.android.com/reference/java/util/UUID) | [EFFECT_TYPE_AEC](https://developer.android.com/reference/android/media/audiofx/AudioEffect#EFFECT_TYPE_AEC) UUID for Acoustic Echo Canceler (AEC)                        | | ` public static final `[UUID](https://developer.android.com/reference/java/util/UUID) | [EFFECT_TYPE_AGC](https://developer.android.com/reference/android/media/audiofx/AudioEffect#EFFECT_TYPE_AGC) UUID for Automatic Gain Control (AGC)                        | | ` public static final `[UUID](https://developer.android.com/reference/java/util/UUID) | [EFFECT_TYPE_BASS_BOOST](https://developer.android.com/reference/android/media/audiofx/AudioEffect#EFFECT_TYPE_BASS_BOOST) UUID for bass boost effect                     | | ` public static final `[UUID](https://developer.android.com/reference/java/util/UUID) | [EFFECT_TYPE_DYNAMICS_PROCESSING](https://developer.android.com/reference/android/media/audiofx/AudioEffect#EFFECT_TYPE_DYNAMICS_PROCESSING) UUID for Dynamics Processing | | ` public static final `[UUID](https://developer.android.com/reference/java/util/UUID) | [EFFECT_TYPE_ENV_REVERB](https://developer.android.com/reference/android/media/audiofx/AudioEffect#EFFECT_TYPE_ENV_REVERB) UUID for environmental reverberation effect    | | ` public static final `[UUID](https://developer.android.com/reference/java/util/UUID) | [EFFECT_TYPE_EQUALIZER](https://developer.android.com/reference/android/media/audiofx/AudioEffect#EFFECT_TYPE_EQUALIZER) UUID for equalizer effect                        | | ` public static final `[UUID](https://developer.android.com/reference/java/util/UUID) | [EFFECT_TYPE_HAPTIC_GENERATOR](https://developer.android.com/reference/android/media/audiofx/AudioEffect#EFFECT_TYPE_HAPTIC_GENERATOR) UUID for Haptic Generator.         | | ` public static final `[UUID](https://developer.android.com/reference/java/util/UUID) | [EFFECT_TYPE_LOUDNESS_ENHANCER](https://developer.android.com/reference/android/media/audiofx/AudioEffect#EFFECT_TYPE_LOUDNESS_ENHANCER) UUID for Loudness Enhancer       | | ` public static final `[UUID](https://developer.android.com/reference/java/util/UUID) | [EFFECT_TYPE_NS](https://developer.android.com/reference/android/media/audiofx/AudioEffect#EFFECT_TYPE_NS) UUID for Noise Suppressor (NS)                                 | | ` public static final `[UUID](https://developer.android.com/reference/java/util/UUID) | [EFFECT_TYPE_PRESET_REVERB](https://developer.android.com/reference/android/media/audiofx/AudioEffect#EFFECT_TYPE_PRESET_REVERB) UUID for preset reverberation effect     | | ` public static final `[UUID](https://developer.android.com/reference/java/util/UUID) | [EFFECT_TYPE_VIRTUALIZER](https://developer.android.com/reference/android/media/audiofx/AudioEffect#EFFECT_TYPE_VIRTUALIZER) UUID for virtualizer effect                  | |

|                                                                                                                                                                                                 ### Public constructors                                                                                                                                                                                                 ||
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|
| ` `[DynamicsProcessing](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing#DynamicsProcessing(int))`(int audioSession) ` Class constructor.                                                                                                                                                                                                                                            |
| ` `[DynamicsProcessing](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing#DynamicsProcessing(int,%20int,%20android.media.audiofx.DynamicsProcessing.Config))`(int priority, int audioSession, `[DynamicsProcessing.Config](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing.Config)` cfg) ` Class constructor for the DynamicsProcessing audio effect |

|                                                                                                                                                                                                                                             ### Public methods                                                                                                                                                                                                                                             ||
|---------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ` `[DynamicsProcessing.Channel](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing.Channel) | ` `[getChannelByChannelIndex](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing#getChannelByChannelIndex(int))`(int channelIndex) `                                                                                                                                                                                                              |
| ` int`                                                                                                                    | ` `[getChannelCount](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing#getChannelCount())`() ` Gets the number of channels in the effect engine                                                                                                                                                                                                  |
| ` `[DynamicsProcessing.Config](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing.Config)   | ` `[getConfig](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing#getConfig())`() ` Returns the Config object used to setup this effect.                                                                                                                                                                                                          |
| ` float`                                                                                                                  | ` `[getInputGainByChannelIndex](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing#getInputGainByChannelIndex(int))`(int channelIndex) `                                                                                                                                                                                                          |
| ` `[DynamicsProcessing.Limiter](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing.Limiter) | ` `[getLimiterByChannelIndex](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing#getLimiterByChannelIndex(int))`(int channelIndex) `                                                                                                                                                                                                              |
| ` `[DynamicsProcessing.MbcBand](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing.MbcBand) | ` `[getMbcBandByChannelIndex](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing#getMbcBandByChannelIndex(int,%20int))`(int channelIndex, int band) `                                                                                                                                                                                             |
| ` `[DynamicsProcessing.Mbc](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing.Mbc)         | ` `[getMbcByChannelIndex](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing#getMbcByChannelIndex(int))`(int channelIndex) `                                                                                                                                                                                                                      |
| ` `[DynamicsProcessing.EqBand](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing.EqBand)   | ` `[getPostEqBandByChannelIndex](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing#getPostEqBandByChannelIndex(int,%20int))`(int channelIndex, int band) `                                                                                                                                                                                       |
| ` `[DynamicsProcessing.Eq](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing.Eq)           | ` `[getPostEqByChannelIndex](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing#getPostEqByChannelIndex(int))`(int channelIndex) `                                                                                                                                                                                                                |
| ` `[DynamicsProcessing.EqBand](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing.EqBand)   | ` `[getPreEqBandByChannelIndex](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing#getPreEqBandByChannelIndex(int,%20int))`(int channelIndex, int band) `                                                                                                                                                                                         |
| ` `[DynamicsProcessing.Eq](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing.Eq)           | ` `[getPreEqByChannelIndex](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing#getPreEqByChannelIndex(int))`(int channelIndex) `                                                                                                                                                                                                                  |
| ` void`                                                                                                                   | ` `[setAllChannelsTo](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing#setAllChannelsTo(android.media.audiofx.DynamicsProcessing.Channel))`(`[DynamicsProcessing.Channel](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing.Channel)` channel) `                                                                 |
| ` void`                                                                                                                   | ` `[setChannelTo](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing#setChannelTo(int,%20android.media.audiofx.DynamicsProcessing.Channel))`(int channelIndex, `[DynamicsProcessing.Channel](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing.Channel)` channel) `                                                |
| ` void`                                                                                                                   | ` `[setInputGainAllChannelsTo](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing#setInputGainAllChannelsTo(float))`(float inputGain) `                                                                                                                                                                                                           |
| ` void`                                                                                                                   | ` `[setInputGainbyChannel](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing#setInputGainbyChannel(int,%20float))`(int channelIndex, float inputGain) `                                                                                                                                                                                          |
| ` void`                                                                                                                   | ` `[setLimiterAllChannelsTo](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing#setLimiterAllChannelsTo(android.media.audiofx.DynamicsProcessing.Limiter))`(`[DynamicsProcessing.Limiter](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing.Limiter)` limiter) `                                                   |
| ` void`                                                                                                                   | ` `[setLimiterByChannelIndex](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing#setLimiterByChannelIndex(int,%20android.media.audiofx.DynamicsProcessing.Limiter))`(int channelIndex, `[DynamicsProcessing.Limiter](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing.Limiter)` limiter) `                        |
| ` void`                                                                                                                   | ` `[setMbcAllChannelsTo](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing#setMbcAllChannelsTo(android.media.audiofx.DynamicsProcessing.Mbc))`(`[DynamicsProcessing.Mbc](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing.Mbc)` mbc) `                                                                           |
| ` void`                                                                                                                   | ` `[setMbcBandAllChannelsTo](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing#setMbcBandAllChannelsTo(int,%20android.media.audiofx.DynamicsProcessing.MbcBand))`(int band, `[DynamicsProcessing.MbcBand](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing.MbcBand)` mbcBand) `                                  |
| ` void`                                                                                                                   | ` `[setMbcBandByChannelIndex](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing#setMbcBandByChannelIndex(int,%20int,%20android.media.audiofx.DynamicsProcessing.MbcBand))`(int channelIndex, int band, `[DynamicsProcessing.MbcBand](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing.MbcBand)` mbcBand) `       |
| ` void`                                                                                                                   | ` `[setMbcByChannelIndex](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing#setMbcByChannelIndex(int,%20android.media.audiofx.DynamicsProcessing.Mbc))`(int channelIndex, `[DynamicsProcessing.Mbc](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing.Mbc)` mbc) `                                                |
| ` void`                                                                                                                   | ` `[setPostEqAllChannelsTo](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing#setPostEqAllChannelsTo(android.media.audiofx.DynamicsProcessing.Eq))`(`[DynamicsProcessing.Eq](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing.Eq)` postEq) `                                                                     |
| ` void`                                                                                                                   | ` `[setPostEqBandAllChannelsTo](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing#setPostEqBandAllChannelsTo(int,%20android.media.audiofx.DynamicsProcessing.EqBand))`(int band, `[DynamicsProcessing.EqBand](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing.EqBand)` postEqBand) `                            |
| ` void`                                                                                                                   | ` `[setPostEqBandByChannelIndex](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing#setPostEqBandByChannelIndex(int,%20int,%20android.media.audiofx.DynamicsProcessing.EqBand))`(int channelIndex, int band, `[DynamicsProcessing.EqBand](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing.EqBand)` postEqBand) ` |
| ` void`                                                                                                                   | ` `[setPostEqByChannelIndex](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing#setPostEqByChannelIndex(int,%20android.media.audiofx.DynamicsProcessing.Eq))`(int channelIndex, `[DynamicsProcessing.Eq](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing.Eq)` postEq) `                                          |
| ` void`                                                                                                                   | ` `[setPreEqAllChannelsTo](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing#setPreEqAllChannelsTo(android.media.audiofx.DynamicsProcessing.Eq))`(`[DynamicsProcessing.Eq](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing.Eq)` preEq) `                                                                        |
| ` void`                                                                                                                   | ` `[setPreEqBandAllChannelsTo](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing#setPreEqBandAllChannelsTo(int,%20android.media.audiofx.DynamicsProcessing.EqBand))`(int band, `[DynamicsProcessing.EqBand](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing.EqBand)` preEqBand) `                               |
| ` void`                                                                                                                   | ` `[setPreEqBandByChannelIndex](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing#setPreEqBandByChannelIndex(int,%20int,%20android.media.audiofx.DynamicsProcessing.EqBand))`(int channelIndex, int band, `[DynamicsProcessing.EqBand](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing.EqBand)` preEqBand) `    |
| ` void`                                                                                                                   | ` `[setPreEqByChannelIndex](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing#setPreEqByChannelIndex(int,%20android.media.audiofx.DynamicsProcessing.Eq))`(int channelIndex, `[DynamicsProcessing.Eq](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing.Eq)` preEq) `                                             |

| ### Inherited methods |
|-----------------------|---|
| From class` `[android.media.audiofx.AudioEffect](https://developer.android.com/reference/android/media/audiofx/AudioEffect)` ` |-------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ` void`                                                                                                           | ` `[finalize](https://developer.android.com/reference/android/media/audiofx/AudioEffect#finalize())`() ` Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.                                                                                                                                                                                                                          | | ` `[AudioEffect.Descriptor](https://developer.android.com/reference/android/media/audiofx/AudioEffect.Descriptor) | ` `[getDescriptor](https://developer.android.com/reference/android/media/audiofx/AudioEffect#getDescriptor())`() ` Get the effect descriptor.                                                                                                                                                                                                                                                                                                                      | | ` boolean`                                                                                                        | ` `[getEnabled](https://developer.android.com/reference/android/media/audiofx/AudioEffect#getEnabled())`() ` Returns effect enabled state                                                                                                                                                                                                                                                                                                                          | | ` int`                                                                                                            | ` `[getId](https://developer.android.com/reference/android/media/audiofx/AudioEffect#getId())`() ` Returns effect unique identifier.                                                                                                                                                                                                                                                                                                                               | | ` boolean`                                                                                                        | ` `[hasControl](https://developer.android.com/reference/android/media/audiofx/AudioEffect#hasControl())`() ` Checks if this AudioEffect object is controlling the effect engine.                                                                                                                                                                                                                                                                                   | | ` static `[Descriptor[]](https://developer.android.com/reference/android/media/audiofx/AudioEffect.Descriptor)    | ` `[queryEffects](https://developer.android.com/reference/android/media/audiofx/AudioEffect#queryEffects())`() ` Query all effects available on the platform.                                                                                                                                                                                                                                                                                                      | | ` void`                                                                                                           | ` `[release](https://developer.android.com/reference/android/media/audiofx/AudioEffect#release())`() ` Releases the native AudioEffect resources.                                                                                                                                                                                                                                                                                                                  | | ` void`                                                                                                           | ` `[setControlStatusListener](https://developer.android.com/reference/android/media/audiofx/AudioEffect#setControlStatusListener(android.media.audiofx.AudioEffect.OnControlStatusChangeListener))`(`[AudioEffect.OnControlStatusChangeListener](https://developer.android.com/reference/android/media/audiofx/AudioEffect.OnControlStatusChangeListener)` listener) ` Sets the listener AudioEffect notifies when the effect engine control is taken or returned. | | ` void`                                                                                                           | ` `[setEnableStatusListener](https://developer.android.com/reference/android/media/audiofx/AudioEffect#setEnableStatusListener(android.media.audiofx.AudioEffect.OnEnableStatusChangeListener))`(`[AudioEffect.OnEnableStatusChangeListener](https://developer.android.com/reference/android/media/audiofx/AudioEffect.OnEnableStatusChangeListener)` listener) ` Sets the listener AudioEffect notifies when the effect engine is enabled or disabled.            | | ` int`                                                                                                            | ` `[setEnabled](https://developer.android.com/reference/android/media/audiofx/AudioEffect#setEnabled(boolean))`(boolean enabled) ` Enable or disable the effect.                                                                                                                                                                                                                                                                                                   | ||
| From class` `[java.lang.Object](https://developer.android.com/reference/java/lang/Object)` ` |--------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ` `[Object](https://developer.android.com/reference/java/lang/Object)          | ` `[clone](https://developer.android.com/reference/java/lang/Object#clone())`() ` Creates and returns a copy of this object.                                                                                                                                                      | | ` boolean`                                                                     | ` `[equals](https://developer.android.com/reference/java/lang/Object#equals(java.lang.Object))`(`[Object](https://developer.android.com/reference/java/lang/Object)` obj) ` Indicates whether some other object is "equal to" this one.                                           | | ` void`                                                                        | ` `[finalize](https://developer.android.com/reference/java/lang/Object#finalize())`() ` Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.                                                          | | ` final `[Class](https://developer.android.com/reference/java/lang/Class)`<?>` | ` `[getClass](https://developer.android.com/reference/java/lang/Object#getClass())`() ` Returns the runtime class of this`Object`.                                                                                                                                                | | ` int`                                                                         | ` `[hashCode](https://developer.android.com/reference/java/lang/Object#hashCode())`() ` Returns a hash code value for the object.                                                                                                                                                 | | ` final void`                                                                  | ` `[notify](https://developer.android.com/reference/java/lang/Object#notify())`() ` Wakes up a single thread that is waiting on this object's monitor.                                                                                                                            | | ` final void`                                                                  | ` `[notifyAll](https://developer.android.com/reference/java/lang/Object#notifyAll())`() ` Wakes up all threads that are waiting on this object's monitor.                                                                                                                         | | ` `[String](https://developer.android.com/reference/java/lang/String)          | ` `[toString](https://developer.android.com/reference/java/lang/Object#toString())`() ` Returns a string representation of the object.                                                                                                                                            | | ` final void`                                                                  | ` `[wait](https://developer.android.com/reference/java/lang/Object#wait(long,%20int))`(long timeoutMillis, int nanos) ` Causes the current thread to wait until it is awakened, typically by being*notified* or*interrupted*, or until a certain amount of real time has elapsed. | | ` final void`                                                                  | ` `[wait](https://developer.android.com/reference/java/lang/Object#wait(long))`(long timeoutMillis) ` Causes the current thread to wait until it is awakened, typically by being*notified* or*interrupted*, or until a certain amount of real time has elapsed.                   | | ` final void`                                                                  | ` `[wait](https://developer.android.com/reference/java/lang/Object#wait())`() ` Causes the current thread to wait until it is awakened, typically by being*notified* or*interrupted*.                                                                                             | ||

## Constants

### VARIANT_FAVOR_FREQUENCY_RESOLUTION

Added in[API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public static final int VARIANT_FAVOR_FREQUENCY_RESOLUTION
```

Index of variant that favors frequency resolution. Frequency domain based implementation.

<br />

Constant Value: 0 (0x00000000)  

### VARIANT_FAVOR_TIME_RESOLUTION

Added in[API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public static final int VARIANT_FAVOR_TIME_RESOLUTION
```

Index of variant that favors time resolution resolution. Time domain based implementation.

<br />

Constant Value: 1 (0x00000001)

## Public constructors

### DynamicsProcessing

Added in[API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public DynamicsProcessing (int audioSession)
```

Class constructor.

<br />

|                                                                                   Parameters                                                                                   ||
|----------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `audioSession` | `int`: system-wide unique audio session identifier. The DynamicsProcessing will be attached to the MediaPlayer or AudioTrack in the same audio session. <br /> |

### DynamicsProcessing

Added in[API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public DynamicsProcessing (int priority, 
                int audioSession, 
                DynamicsProcessing.Config cfg)
```

Class constructor for the DynamicsProcessing audio effect

<br />

|                                                                                                                                                                                                                    Parameters                                                                                                                                                                                                                     ||
|----------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `priority`     | `int`: the priority level requested by the application for controlling the DynamicsProcessing engine. As the same engine can be shared by several applications, this parameter indicates how much the requesting application needs control of effect parameters. The normal priority is 0, above normal is a positive number, below normal a negative number. <br />                                                              |
| `audioSession` | `int`: system-wide unique audio session identifier. The DynamicsProcessing will be attached to the MediaPlayer or AudioTrack in the same audio session. <br />                                                                                                                                                                                                                                                                    |
| `cfg`          | `DynamicsProcessing.Config`: Config object used to setup the audio effect, including bands per stage, and specific parameters for each stage/band. Use[DynamicsProcessing.Config.Builder](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing.Config.Builder)to create a Config object that suits your needs. A null cfg parameter will create and use a default configuration for the effect <br /> |

## Public methods

### getChannelByChannelIndex

Added in[API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public DynamicsProcessing.Channel getChannelByChannelIndex (int channelIndex)
```

<br />

<br />

|          Parameters          ||
|----------------|--------------|
| `channelIndex` | `int` <br /> |

|                                                            Returns                                                             ||
|------------------------------------------------------------------------------------------------------------------------|--------|
| [DynamicsProcessing.Channel](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing.Channel) | <br /> |

### getChannelCount

Added in[API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public int getChannelCount ()
```

Gets the number of channels in the effect engine

<br />

|                                Returns                                 ||
|-------|-----------------------------------------------------------------|
| `int` | number of channels currently in use by the effect engine <br /> |

### getConfig

Added in[API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public DynamicsProcessing.Config getConfig ()
```

Returns the Config object used to setup this effect.

<br />

|                                                                                                 Returns                                                                                                 ||
|----------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------|
| [DynamicsProcessing.Config](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing.Config) | Config Current Config object used to setup this DynamicsProcessing effect. <br /> |

### getInputGainByChannelIndex

Added in[API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public float getInputGainByChannelIndex (int channelIndex)
```

<br />

<br />

|          Parameters          ||
|----------------|--------------|
| `channelIndex` | `int` <br /> |

|     Returns     ||
|---------|--------|
| `float` | <br /> |

### getLimiterByChannelIndex

Added in[API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public DynamicsProcessing.Limiter getLimiterByChannelIndex (int channelIndex)
```

<br />

<br />

|          Parameters          ||
|----------------|--------------|
| `channelIndex` | `int` <br /> |

|                                                            Returns                                                             ||
|------------------------------------------------------------------------------------------------------------------------|--------|
| [DynamicsProcessing.Limiter](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing.Limiter) | <br /> |

### getMbcBandByChannelIndex

Added in[API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public DynamicsProcessing.MbcBand getMbcBandByChannelIndex (int channelIndex, 
                int band)
```

<br />

<br />

|          Parameters          ||
|----------------|--------------|
| `channelIndex` | `int` <br /> |
| `band`         | `int` <br /> |

|                                                            Returns                                                             ||
|------------------------------------------------------------------------------------------------------------------------|--------|
| [DynamicsProcessing.MbcBand](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing.MbcBand) | <br /> |

### getMbcByChannelIndex

Added in[API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public DynamicsProcessing.Mbc getMbcByChannelIndex (int channelIndex)
```

<br />

<br />

|          Parameters          ||
|----------------|--------------|
| `channelIndex` | `int` <br /> |

|                                                        Returns                                                         ||
|----------------------------------------------------------------------------------------------------------------|--------|
| [DynamicsProcessing.Mbc](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing.Mbc) | <br /> |

### getPostEqBandByChannelIndex

Added in[API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public DynamicsProcessing.EqBand getPostEqBandByChannelIndex (int channelIndex, 
                int band)
```

<br />

<br />

|          Parameters          ||
|----------------|--------------|
| `channelIndex` | `int` <br /> |
| `band`         | `int` <br /> |

|                                                           Returns                                                            ||
|----------------------------------------------------------------------------------------------------------------------|--------|
| [DynamicsProcessing.EqBand](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing.EqBand) | <br /> |

### getPostEqByChannelIndex

Added in[API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public DynamicsProcessing.Eq getPostEqByChannelIndex (int channelIndex)
```

<br />

<br />

|          Parameters          ||
|----------------|--------------|
| `channelIndex` | `int` <br /> |

|                                                       Returns                                                        ||
|--------------------------------------------------------------------------------------------------------------|--------|
| [DynamicsProcessing.Eq](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing.Eq) | <br /> |

### getPreEqBandByChannelIndex

Added in[API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public DynamicsProcessing.EqBand getPreEqBandByChannelIndex (int channelIndex, 
                int band)
```

<br />

<br />

|          Parameters          ||
|----------------|--------------|
| `channelIndex` | `int` <br /> |
| `band`         | `int` <br /> |

|                                                           Returns                                                            ||
|----------------------------------------------------------------------------------------------------------------------|--------|
| [DynamicsProcessing.EqBand](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing.EqBand) | <br /> |

### getPreEqByChannelIndex

Added in[API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public DynamicsProcessing.Eq getPreEqByChannelIndex (int channelIndex)
```

<br />

<br />

|          Parameters          ||
|----------------|--------------|
| `channelIndex` | `int` <br /> |

|                                                       Returns                                                        ||
|--------------------------------------------------------------------------------------------------------------|--------|
| [DynamicsProcessing.Eq](https://developer.android.com/reference/android/media/audiofx/DynamicsProcessing.Eq) | <br /> |

### setAllChannelsTo

Added in[API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public void setAllChannelsTo (DynamicsProcessing.Channel channel)
```

<br />

<br />

|                   Parameters                   ||
|-----------|-------------------------------------|
| `channel` | `DynamicsProcessing.Channel` <br /> |

### setChannelTo

Added in[API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public void setChannelTo (int channelIndex, 
                DynamicsProcessing.Channel channel)
```

<br />

<br />

|                     Parameters                      ||
|----------------|-------------------------------------|
| `channelIndex` | `int` <br />                        |
| `channel`      | `DynamicsProcessing.Channel` <br /> |

### setInputGainAllChannelsTo

Added in[API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public void setInputGainAllChannelsTo (float inputGain)
```

<br />

<br />

|         Parameters          ||
|-------------|----------------|
| `inputGain` | `float` <br /> |

### setInputGainbyChannel

Added in[API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public void setInputGainbyChannel (int channelIndex, 
                float inputGain)
```

<br />

<br />

|           Parameters           ||
|----------------|----------------|
| `channelIndex` | `int` <br />   |
| `inputGain`    | `float` <br /> |

### setLimiterAllChannelsTo

Added in[API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public void setLimiterAllChannelsTo (DynamicsProcessing.Limiter limiter)
```

<br />

<br />

|                   Parameters                   ||
|-----------|-------------------------------------|
| `limiter` | `DynamicsProcessing.Limiter` <br /> |

### setLimiterByChannelIndex

Added in[API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public void setLimiterByChannelIndex (int channelIndex, 
                DynamicsProcessing.Limiter limiter)
```

<br />

<br />

|                     Parameters                      ||
|----------------|-------------------------------------|
| `channelIndex` | `int` <br />                        |
| `limiter`      | `DynamicsProcessing.Limiter` <br /> |

### setMbcAllChannelsTo

Added in[API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public void setMbcAllChannelsTo (DynamicsProcessing.Mbc mbc)
```

<br />

<br />

|               Parameters               ||
|-------|---------------------------------|
| `mbc` | `DynamicsProcessing.Mbc` <br /> |

### setMbcBandAllChannelsTo

Added in[API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public void setMbcBandAllChannelsTo (int band, 
                DynamicsProcessing.MbcBand mbcBand)
```

<br />

<br />

|                   Parameters                   ||
|-----------|-------------------------------------|
| `band`    | `int` <br />                        |
| `mbcBand` | `DynamicsProcessing.MbcBand` <br /> |

### setMbcBandByChannelIndex

Added in[API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public void setMbcBandByChannelIndex (int channelIndex, 
                int band, 
                DynamicsProcessing.MbcBand mbcBand)
```

<br />

<br />

|                     Parameters                      ||
|----------------|-------------------------------------|
| `channelIndex` | `int` <br />                        |
| `band`         | `int` <br />                        |
| `mbcBand`      | `DynamicsProcessing.MbcBand` <br /> |

### setMbcByChannelIndex

Added in[API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public void setMbcByChannelIndex (int channelIndex, 
                DynamicsProcessing.Mbc mbc)
```

<br />

<br />

|                   Parameters                    ||
|----------------|---------------------------------|
| `channelIndex` | `int` <br />                    |
| `mbc`          | `DynamicsProcessing.Mbc` <br /> |

### setPostEqAllChannelsTo

Added in[API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public void setPostEqAllChannelsTo (DynamicsProcessing.Eq postEq)
```

<br />

<br />

|                Parameters                ||
|----------|--------------------------------|
| `postEq` | `DynamicsProcessing.Eq` <br /> |

### setPostEqBandAllChannelsTo

Added in[API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public void setPostEqBandAllChannelsTo (int band, 
                DynamicsProcessing.EqBand postEqBand)
```

<br />

<br />

|                    Parameters                    ||
|--------------|------------------------------------|
| `band`       | `int` <br />                       |
| `postEqBand` | `DynamicsProcessing.EqBand` <br /> |

### setPostEqBandByChannelIndex

Added in[API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public void setPostEqBandByChannelIndex (int channelIndex, 
                int band, 
                DynamicsProcessing.EqBand postEqBand)
```

<br />

<br />

|                     Parameters                     ||
|----------------|------------------------------------|
| `channelIndex` | `int` <br />                       |
| `band`         | `int` <br />                       |
| `postEqBand`   | `DynamicsProcessing.EqBand` <br /> |

### setPostEqByChannelIndex

Added in[API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public void setPostEqByChannelIndex (int channelIndex, 
                DynamicsProcessing.Eq postEq)
```

<br />

<br />

|                   Parameters                   ||
|----------------|--------------------------------|
| `channelIndex` | `int` <br />                   |
| `postEq`       | `DynamicsProcessing.Eq` <br /> |

### setPreEqAllChannelsTo

Added in[API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public void setPreEqAllChannelsTo (DynamicsProcessing.Eq preEq)
```

<br />

<br />

|               Parameters                ||
|---------|--------------------------------|
| `preEq` | `DynamicsProcessing.Eq` <br /> |

### setPreEqBandAllChannelsTo

Added in[API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public void setPreEqBandAllChannelsTo (int band, 
                DynamicsProcessing.EqBand preEqBand)
```

<br />

<br />

|                   Parameters                    ||
|-------------|------------------------------------|
| `band`      | `int` <br />                       |
| `preEqBand` | `DynamicsProcessing.EqBand` <br /> |

### setPreEqBandByChannelIndex

Added in[API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public void setPreEqBandByChannelIndex (int channelIndex, 
                int band, 
                DynamicsProcessing.EqBand preEqBand)
```

<br />

<br />

|                     Parameters                     ||
|----------------|------------------------------------|
| `channelIndex` | `int` <br />                       |
| `band`         | `int` <br />                       |
| `preEqBand`    | `DynamicsProcessing.EqBand` <br /> |

### setPreEqByChannelIndex

Added in[API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public void setPreEqByChannelIndex (int channelIndex, 
                DynamicsProcessing.Eq preEq)
```

<br />

<br />

|                   Parameters                   ||
|----------------|--------------------------------|
| `channelIndex` | `int` <br />                   |
| `preEq`        | `DynamicsProcessing.Eq` <br /> |