Class StandardAudioDataFormats
- java.lang.Object
-
- com.sedmelluq.discord.lavaplayer.format.StandardAudioDataFormats
-
public class StandardAudioDataFormats extends java.lang.ObjectStandard output formats compatible with Discord.
-
-
Field Summary
Fields Modifier and Type Field Description static AudioDataFormatCOMMON_PCM_S16_BESigned 16-bit big-endian PCM format matching with the most common sample rate.static AudioDataFormatCOMMON_PCM_S16_LESigned 16-bit little-endian PCM format matching with the most common sample rate.static AudioDataFormatDISCORD_OPUSThe Opus configuration used by both Discord and YouTube.static AudioDataFormatDISCORD_PCM_S16_BESigned 16-bit big-endian PCM format matching the parameters used by Discord.static AudioDataFormatDISCORD_PCM_S16_LESigned 16-bit little-endian PCM format matching the parameters used by Discord.
-
Constructor Summary
Constructors Constructor Description StandardAudioDataFormats()
-
-
-
Field Detail
-
DISCORD_OPUS
public static final AudioDataFormat DISCORD_OPUS
The Opus configuration used by both Discord and YouTube. Default.
-
DISCORD_PCM_S16_BE
public static final AudioDataFormat DISCORD_PCM_S16_BE
Signed 16-bit big-endian PCM format matching the parameters used by Discord.
-
DISCORD_PCM_S16_LE
public static final AudioDataFormat DISCORD_PCM_S16_LE
Signed 16-bit little-endian PCM format matching the parameters used by Discord.
-
COMMON_PCM_S16_BE
public static final AudioDataFormat COMMON_PCM_S16_BE
Signed 16-bit big-endian PCM format matching with the most common sample rate.
-
COMMON_PCM_S16_LE
public static final AudioDataFormat COMMON_PCM_S16_LE
Signed 16-bit little-endian PCM format matching with the most common sample rate.
-
-