diff options
-rw-r--r-- | build.gradle | 2 | ||||
-rw-r--r-- | gradle/wrapper/gradle-wrapper.properties | 4 | ||||
-rw-r--r-- | src/main/java/soundchan/AudioPlayerSendHandler.java | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/build.gradle b/build.gradle index 5ecc1c7..1b0f8f1 100644 --- a/build.gradle +++ b/build.gradle @@ -9,7 +9,7 @@ repositories { dependencies { compile 'net.dv8tion:JDA:3.5.1_339' - compile 'com.sedmelluq:lavaplayer:1.2.53' + compile 'com.sedmelluq:lavaplayer:1.3.17' runtime 'ch.qos.logback:logback-classic:1.2.3' } diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index e5373c5..2fededb 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ -#Sun Dec 18 00:27:39 EET 2016 +#Tue Apr 30 21:55:36 EDT 2019 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-3.2.1-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-3.2.1-all.zip diff --git a/src/main/java/soundchan/AudioPlayerSendHandler.java b/src/main/java/soundchan/AudioPlayerSendHandler.java index cd76807..5e174ca 100644 --- a/src/main/java/soundchan/AudioPlayerSendHandler.java +++ b/src/main/java/soundchan/AudioPlayerSendHandler.java @@ -35,7 +35,7 @@ public class AudioPlayerSendHandler implements AudioSendHandler { lastFrame = audioPlayer.provide(); } - byte[] data = lastFrame != null ? lastFrame.data : null; + byte[] data = lastFrame != null ? lastFrame.getData() : null; lastFrame = null; return data; |