mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-07-14 13:20:17 +08:00
feat: custom buffer size (#2370)
* feat: custom buffer size * cache buffer params --------- Co-authored-by: dom <githubaccount56556@proton.me>
This commit is contained in:
committed by
GitHub
parent
90d79b236f
commit
22f37074b1
@@ -797,8 +797,11 @@ abstract final class Pref {
|
||||
static bool get enableLongShowControl =>
|
||||
_setting.get(SettingBoxKey.enableLongShowControl, defaultValue: false);
|
||||
|
||||
static bool get expandBuffer =>
|
||||
_setting.get(SettingBoxKey.expandBuffer, defaultValue: false);
|
||||
static double get bufferSize =>
|
||||
_setting.get(SettingBoxKey.bufferSize, defaultValue: 4.0);
|
||||
|
||||
static double get bufferSec =>
|
||||
_setting.get(SettingBoxKey.bufferSec, defaultValue: 16.0);
|
||||
|
||||
static String get audioOutput => _setting.get(
|
||||
SettingBoxKey.audioOutput,
|
||||
|
||||
Reference in New Issue
Block a user