Updated to guildMessageReceivedEvent

This commit is contained in:
Isaac Parenteau
2019-10-05 13:16:46 -05:00
parent d46b966d26
commit 950d20b137
3 changed files with 21 additions and 16 deletions

View File

@@ -22,6 +22,9 @@ public class EightTrackAudioSendHandler implements AudioSendHandler {
}
public ByteBuffer provide20MsAudio() {
if (lastFrame == null || lastFrame.getData() == null) {
return ByteBuffer.wrap(new byte[0]);
}
return ByteBuffer.wrap(lastFrame.getData());
}