mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
mod: mpv优先选择opensles,次选audiotrack以提升性能;移除玄学
This commit is contained in:
@@ -439,13 +439,13 @@ class PlPlayerController {
|
||||
);
|
||||
|
||||
var pp = player.platform as NativePlayer;
|
||||
await pp.setProperty("audio-pitch-correction", "scaletempo2");
|
||||
// 解除倍速限制
|
||||
await pp.setProperty("af", "scaletempo2=max-speed=8");
|
||||
// 音量不一致
|
||||
if (Platform.isAndroid) {
|
||||
await pp.setProperty("volume-max", "100");
|
||||
await pp.setProperty("ao", "audiotrack,opensles");
|
||||
// await pp.setProperty("ao", "audiotrack,opensles");
|
||||
await pp.setProperty("ao", "opensles,audiotrack");
|
||||
}
|
||||
// // vo=gpu-next & gpu-context=android & gpu-api=opengl
|
||||
// await pp.setProperty("vo", "gpu-next");
|
||||
|
||||
Reference in New Issue
Block a user