Equalizer.GetBandLevel(Int16) Method

Definition

Gets the gain set for the given equalizer band.

[Android.Runtime.Register("getBandLevel", "(S)S", "GetGetBandLevel_SHandler")]
public virtual short GetBandLevel (short band);
[<Android.Runtime.Register("getBandLevel", "(S)S", "GetGetBandLevel_SHandler")>]
abstract member GetBandLevel : int16 -> int16
override this.GetBandLevel : int16 -> int16

Parameters

band
Int16

frequency band whose gain is requested. The numbering of the bands starts from 0 and ends at (number of bands - 1).

Returns

the gain in millibels of the given band.

Attributes

Exceptions

Remarks

Gets the gain set for the given equalizer band.

Java documentation for android.media.audiofx.Equalizer.getBandLevel(short).

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