setFilters

abstract fun setFilters(filters: Filters): PlayerUpdateBuilder

Update the filters for the player. Please use setVolume to update the player's volume instead. Setting the volume via filters is float based (1.0f is 100% volume) and takes the time of your buffer size to apply.

Return

The updated builder, useful for chaining

Parameters

filters

The new filters to apply to the player. You can use the dev.arbjerg.lavalink.client.protocol.FilterBuilder to easily create this object.