Skip to content
This repository was archived by the owner on Oct 26, 2024. It is now read-only.

Commit 7de1994

Browse files
authored
fix: remove int argument from buffer functions (#71)
1 parent e2a1bb7 commit 7de1994

1 file changed

Lines changed: 3 additions & 9 deletions

File tree

app/src/main/java/app/revanced/integrations/patches/VideoBufferPatch.java

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,15 @@
44

55
public class VideoBufferPatch {
66

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

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

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

0 commit comments

Comments
 (0)