LoudnessEnhancer.SetTargetGain(Int32) 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.
Set the target gain for the audio effect.
[Android.Runtime.Register("setTargetGain", "(I)V", "GetSetTargetGain_IHandler")]
public virtual void SetTargetGain (int gainmB);
[<Android.Runtime.Register("setTargetGain", "(I)V", "GetSetTargetGain_IHandler")>]
abstract member SetTargetGain : int -> unit
override this.SetTargetGain : int -> unit
Parameters
- gainmB
- Int32
the effect target gain expressed in mB. 0mB corresponds to no amplification.
- Attributes
Exceptions
Remarks
Set the target gain for the audio effect. The target gain is the maximum value by which a sample value will be amplified when the effect is enabled.
Java documentation for android.media.audiofx.LoudnessEnhancer.setTargetGain(int)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.