Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-07-23 16:47:11 +08:00
parent 148e0872b4
commit 418a1e8d39
821 changed files with 29467 additions and 25520 deletions

View File

@@ -27,7 +27,8 @@ class AudioSessionHandler {
switch (event.type) {
case AudioInterruptionType.duck:
PlPlayerController.setVolumeIfExists(
(PlPlayerController.getVolumeIfExists() ?? 0) * 0.5);
(PlPlayerController.getVolumeIfExists() ?? 0) * 0.5,
);
// player.setVolume(player.volume.value * 0.5);
break;
case AudioInterruptionType.pause:
@@ -45,7 +46,8 @@ class AudioSessionHandler {
switch (event.type) {
case AudioInterruptionType.duck:
PlPlayerController.setVolumeIfExists(
(PlPlayerController.getVolumeIfExists() ?? 0) * 2);
(PlPlayerController.getVolumeIfExists() ?? 0) * 2,
);
// player.setVolume(player.volume.value * 2);
break;
case AudioInterruptionType.pause: