EqualizerBuilder

class EqualizerBuilder(bands: MutableMap<Int, Float> = mutableMapOf())

Builder for Equalizer configuration.

Call apply to apply it to a JavaPlayer. This contains the previous configuration from the player. To reset call reset.

Constructors

Link copied to clipboard
constructor(bands: MutableMap<Int, Float> = mutableMapOf())

Functions

Link copied to clipboard

Applies this configuration to a JavaPlayer.

Link copied to clipboard
fun reset()

Resets all equalizers.

Link copied to clipboard
fun setBand(band: Int, gain: Float): EqualizerBuilder

Set's the gain of band to gain.