Skip to content

Commit

Permalink
Update Lavaplayer to 1.3.5 (lavalink-devs#115)
Browse files Browse the repository at this point in the history
  • Loading branch information
devoxin authored and freyacodes committed Jun 15, 2018
1 parent fbc2423 commit a013d25
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion IMPLEMENTATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ Make the player seek to a position of the track. Position is in millis
}
```

Set player volume. Volume may range from 0 to 150. 100 is default.
Set player volume. Volume may range from 0 to 1000. 100 is default.
```json
{
"op": "volume",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ public void seekTo(long position) {

@Override
public void setVolume(int volume) {
volume = Math.min(150, Math.max(0, volume)); // Lavaplayer bounds
volume = Math.min(1000, Math.max(0, volume)); // Lavaplayer bounds
this.volume = volume;

LavalinkSocket node = link.getNode(false);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public boolean canProvide() {

@Override
public byte[] provide20MsAudio() {
return lastFrame.data;
return lastFrame.getData();
}

@Override
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ subprojects {
ext {
//@formatter:off

lavaplayerVersion = '1.2.64'
lavaplayerVersion = '1.3.5'
jdaAudioVersion = '4d7abb48aec49f0a996ba0d87df34fdc67f71275'
jdaNasVersion = '1.0.6.2-JDA-Audio'
jappVersion = '1.2'
Expand Down

0 comments on commit a013d25

Please sign in to comment.