Language

EqualizerBand.GainDb Property

Definition

Gets the gain for the band in decibels (dB).

public int GainDb { [Android.Runtime.Register("getGainDb", "()I", "", ApiSince=37)] get; }
[<get: Android.Runtime.Register("getGainDb", "()I", "", ApiSince=37)>]
member this.GainDb : int

Property Value

Gets the gain for the band in decibels (dB).

Attributes

Remarks

Gets the gain for the band in decibels (dB). The range is determined by hardware capabilities. (e.g., -50 to 50 or -100 to 100)

Negative means the signal in this frequency band is reduced, so the output is quieter than the input. (This is used to remove unwanted frequencies like "mud" or "hiss")

Positive means the signal in this frequency band is amplified, so the output is louder than the input.

0 means the signal is unchanged and this is the default state of an equalizer.

Android reference for android.media.quality.EqualizerBand.getGainDb.

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.

Applies to