From a88be1cc93d4c8371242e3933e2c0e453488ef84 Mon Sep 17 00:00:00 2001 From: orz12 Date: Sat, 2 Mar 2024 14:06:52 +0800 Subject: [PATCH] =?UTF-8?q?mod:=20=E7=8E=84=E5=AD=A6audio-pitch-correction?= =?UTF-8?q?=3Dscaletempo2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/plugin/pl_player/controller.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/plugin/pl_player/controller.dart b/lib/plugin/pl_player/controller.dart index 22324f2b..fa806749 100644 --- a/lib/plugin/pl_player/controller.dart +++ b/lib/plugin/pl_player/controller.dart @@ -448,6 +448,7 @@ class PlPlayerController { ); var pp = player.platform as NativePlayer; + await pp.setProperty("audio-pitch-correction", "scaletempo2"); // 解除倍速限制 await pp.setProperty("af", "scaletempo2=max-speed=8"); // 音量不一致