it.discordbot.command.music.config / AudioPlayerSendHandler

AudioPlayerSendHandler

class AudioPlayerSendHandler : AudioSendHandler

Constructors

<init>

AudioPlayerSendHandler(audioPlayer: AudioPlayer)

Properties

audioPlayer

val audioPlayer: AudioPlayer

lastFrame

var lastFrame: AudioFrame?

Functions

canProvide

fun canProvide(): Boolean

isOpus

fun isOpus(): Boolean

provide20MsAudio

fun provide20MsAudio(): ByteArray?