Język

DynamicsProcessing.SetInputGainbyChannel(Int32, Single) Method

Definition

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.

Applies to