increase desktop max volume

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-12-17 14:05:30 +08:00
parent 830f3b60e0
commit 02e0d34127
3 changed files with 8 additions and 4 deletions

View File

@@ -1336,6 +1336,7 @@ class PlPlayerController {
Timer? volumeTimer;
final RxBool volumeInterceptEventStream = false.obs;
static final double maxVolume = PlatformUtils.isDesktop ? 2.0 : 1.0;
Future<void> setVolume(double volume) async {
if (this.volume.value != volume) {
this.volume.value = volume;