mirror of
https://github.com/revanced/revanced-integrations.git
synced 2024-11-07 12:47:02 +01:00
fix: remove int argument from buffer functions (#71)
This commit is contained in:
parent
e2a1bb7ce8
commit
7de199421c
@ -4,21 +4,15 @@ import app.revanced.integrations.settings.SettingsEnum;
|
|||||||
|
|
||||||
public class VideoBufferPatch {
|
public class VideoBufferPatch {
|
||||||
|
|
||||||
//ToDo: Write Patch for it.
|
public static int getMaxBuffer() {
|
||||||
//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) {
|
|
||||||
return SettingsEnum.MAX_BUFFER_INTEGER.getInt();
|
return SettingsEnum.MAX_BUFFER_INTEGER.getInt();
|
||||||
}
|
}
|
||||||
|
|
||||||
//ToDo: Write Patch for it.
|
public static int getPlaybackBuffer() {
|
||||||
//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) {
|
|
||||||
return SettingsEnum.PLAYBACK_MAX_BUFFER_INTEGER.getInt();
|
return SettingsEnum.PLAYBACK_MAX_BUFFER_INTEGER.getInt();
|
||||||
}
|
}
|
||||||
|
|
||||||
//ToDo: Write Patch for it.
|
public static int getReBuffer() {
|
||||||
//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) {
|
|
||||||
return SettingsEnum.MAX_PLAYBACK_BUFFER_AFTER_REBUFFER_INTEGER.getInt();
|
return SettingsEnum.MAX_PLAYBACK_BUFFER_AFTER_REBUFFER_INTEGER.getInt();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user