Skip to content

Commit

Permalink
fix: remove int argument from buffer functions (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheJeterLP committed Jul 8, 2022
1 parent e2a1bb7 commit 7de1994
Showing 1 changed file with 3 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,15 @@

public class VideoBufferPatch {

//ToDo: Write Patch for it.
//See https://drive.google.com/file/d/1LSZZX4NgBIlN0dDCzyI7cECtgbXVg_1j/view?usp=sharing for where it needs to be used.
public static int getMaxBuffer(int original) {
public static int getMaxBuffer() {
return SettingsEnum.MAX_BUFFER_INTEGER.getInt();
}

//ToDo: Write Patch for it.
//See https://drive.google.com/file/d/1gIUqPIMq-XP-edT_9wQN1RbmVnk9tJN8/view?usp=sharing for where it needs to be used.
public static int getPlaybackBuffer(int original) {
public static int getPlaybackBuffer() {
return SettingsEnum.PLAYBACK_MAX_BUFFER_INTEGER.getInt();
}

//ToDo: Write Patch for it.
//See https://drive.google.com/file/d/1ywL7SxvWrBIIbuZ1YoUIKdZM-U8H_w-p/view?usp=sharing for where it needs to be used.
public static int getReBuffer(int original) {
public static int getReBuffer() {
return SettingsEnum.MAX_PLAYBACK_BUFFER_AFTER_REBUFFER_INTEGER.getInt();
}

Expand Down

0 comments on commit 7de1994

Please sign in to comment.