DynamicsProcessing.Config.Builder.SetInputGainByChannelIndex Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the input gain for one channel.
[Android.Runtime.Register("setInputGainByChannelIndex", "(IF)Landroid/media/audiofx/DynamicsProcessing$Config$Builder;", "", ApiSince=28)]
public Android.Media.Audiofx.DynamicsProcessing.Config.Builder SetInputGainByChannelIndex(int channelIndex, float inputGain);
[<Android.Runtime.Register("setInputGainByChannelIndex", "(IF)Landroid/media/audiofx/DynamicsProcessing$Config$Builder;", "", ApiSince=28)>]
member this.SetInputGainByChannelIndex : int * single -> Android.Media.Audiofx.DynamicsProcessing.Config.Builder
Parameters
- channelIndex
- Int32
The zero-based channel index, less than the number of channels.
- inputGain
- Single
The input gain in decibels (dB). A value of 0 leaves the level unchanged.
Returns
This builder, with the selected input gain changed.
- Attributes
Remarks
The gain is applied before the processing stages. This changes the builder's channel data; it does not update an existing effect engine.
See the Android 16 implementation.