Class AudioPlayerOptions
- java.lang.Object
-
- com.sedmelluq.discord.lavaplayer.player.AudioPlayerOptions
-
public class AudioPlayerOptions extends java.lang.ObjectMutable options of an audio player which may be applied in real-time.
-
-
Field Summary
Fields Modifier and Type Field Description java.util.concurrent.atomic.AtomicReference<PcmFilterFactory>filterFactoryCurrent PCM filter factory.java.util.concurrent.atomic.AtomicReference<java.lang.Integer>frameBufferDurationCurrent frame buffer size.java.util.concurrent.atomic.AtomicIntegervolumeLevelVolume level of the audio, seeAudioPlayer.setVolume(int).
-
Constructor Summary
Constructors Constructor Description AudioPlayerOptions()New instance of player options.
-
-
-
Field Detail
-
volumeLevel
public final java.util.concurrent.atomic.AtomicInteger volumeLevel
Volume level of the audio, seeAudioPlayer.setVolume(int). Applied in real-time.
-
filterFactory
public final java.util.concurrent.atomic.AtomicReference<PcmFilterFactory> filterFactory
Current PCM filter factory. Applied in real-time.
-
frameBufferDuration
public final java.util.concurrent.atomic.AtomicReference<java.lang.Integer> frameBufferDuration
Current frame buffer size. If not set, the global default is used. Changing this only affects the next track that is started.
-
-