aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrandon <bwaggone@umich.edu>2019-08-10 21:58:07 -0400
committerGitHub <noreply@github.com>2019-08-10 21:58:07 -0400
commitd2bb59cf2c21c5ba3000d1523bb62bb969eb38d4 (patch)
tree26b3b71c2b54adbac4cb974741a4ca9b470faef0
parent5ac0ded5bfcfcd00e5385bc78c9ce24ba604f04a (diff)
parent59ffa2f46350597ed96ad32cd6ba19f274165f3a (diff)
downloadSoundChan-d2bb59cf2c21c5ba3000d1523bb62bb969eb38d4.tar.gz
SoundChan-d2bb59cf2c21c5ba3000d1523bb62bb969eb38d4.tar.bz2
SoundChan-d2bb59cf2c21c5ba3000d1523bb62bb969eb38d4.zip
Merge pull request #15 from bwaggone/bugfix/lavaplayer-bumpmaster
Bump in LavaPlayer version to fix some yt links
-rw-r--r--build.gradle2
-rw-r--r--gradle/wrapper/gradle-wrapper.properties4
-rw-r--r--src/main/java/soundchan/AudioPlayerSendHandler.java2
3 files changed, 4 insertions, 4 deletions
diff --git a/build.gradle b/build.gradle
index 5ecc1c7..befa0d3 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.20'
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;