Język

DynamicsProcessing.Config.Builder.SetInputGainAllChannelsTo(Single) Method

Definition

Sets the input gain for all channels.

[Android.Runtime.Register("setInputGainAllChannelsTo", "(F)Landroid/media/audiofx/DynamicsProcessing$Config$Builder;", "", ApiSince=28)]
public Android.Media.Audiofx.DynamicsProcessing.Config.Builder SetInputGainAllChannelsTo(float inputGain);
[<Android.Runtime.Register("setInputGainAllChannelsTo", "(F)Landroid/media/audiofx/DynamicsProcessing$Config$Builder;", "", ApiSince=28)>]
member this.SetInputGainAllChannelsTo : single -> Android.Media.Audiofx.DynamicsProcessing.Config.Builder

Parameters

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.

Applies to