Share via


Equalizer.SetBandLevel(Int16, Int16) Method

Definition

Sets the given equalizer band to the given gain value.

[Android.Runtime.Register("setBandLevel", "(SS)V", "GetSetBandLevel_SSHandler")]
public virtual void SetBandLevel (short band, short level);
[<Android.Runtime.Register("setBandLevel", "(SS)V", "GetSetBandLevel_SSHandler")>]
abstract member SetBandLevel : int16 * int16 -> unit
override this.SetBandLevel : int16 * int16 -> unit

Parameters

band
Int16

frequency band that will have the new gain. The numbering of the bands starts from 0 and ends at (number of bands - 1).

level
Int16

new gain in millibels that will be set to the given band. getBandLevelRange() will define the maximum and minimum values.

Attributes

Exceptions

Remarks

Sets the given equalizer band to the given gain value.

Java documentation for android.media.audiofx.Equalizer.setBandLevel(short, 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

See also