Struct LavalinkBandAdjustment
Represents Lavalink equalizer band adjustment. This is used to alter the sound output by using Lavalink's equalizer.
Namespace: DSharpPlus.Lavalink
Assembly: cs.temp.dll.dll
Syntax
public struct LavalinkBandAdjustment
Constructors
LavalinkBandAdjustment(Int32, Single)
Creates a new band adjustment with specified parameters.
Declaration
public LavalinkBandAdjustment(int bandId, float gain)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | bandId | Which band to adjust. Must be in 0-14 range. |
System.Single | gain | By how much to adjust the band. Must be greater than or equal to -0.25 (muted), and less than or equal to +1.0. +0.25 means the band is doubled. |
Properties
BandId
Gets the ID of the band to adjust.
Declaration
public int BandId { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Gain
Gets the gain of the specified band.
Declaration
public float Gain { get; }
Property Value
Type | Description |
---|---|
System.Single |