Skip to content

Commit

Permalink
Update controller.dart
Browse files Browse the repository at this point in the history
  • Loading branch information
ajdgsu authored Jan 9, 2025
1 parent 320604c commit 5090dc9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/plugin/pl_player/controller.dart
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@ class PlPlayerController {
var pp = player.platform as NativePlayer;
// 解除倍速限制
await pp.setProperty("af", "scaletempo2=max-speed=8");
await pp.setProperty("af", "loudnorm=I=-24:LRA=6.3:TP=-8.5");

// 音量不一致
if (Platform.isAndroid) {
await pp.setProperty("volume-max", "100");
Expand All @@ -598,6 +598,7 @@ class PlPlayerController {
? dataSource.audioSource!.replaceAll(';', '\\;')
: dataSource.audioSource!.replaceAll(':', '\\:'),
);
await pp.setProperty("af", "loudnorm=I=-24:LRA=6.3:TP=-8.5");
} else {
await pp.setProperty(
'audio-files',
Expand Down

0 comments on commit 5090dc9

Please sign in to comment.