DynamicsProcessing.SetInputGainbyChannel(Int32, Single) 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("setInputGainbyChannel", "(IF)V", "", ApiSince=28)]
public void SetInputGainbyChannel(int channelIndex, float inputGain);
[<Android.Runtime.Register("setInputGainbyChannel", "(IF)V", "", ApiSince=28)>]
member this.SetInputGainbyChannel : int * single -> unit
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.
- Attributes
Remarks
Writes the input gain to the effect engine. The gain is applied before the processing stages.
See the Android 16 implementation.