fix: 部分机型音量不一致

This commit is contained in:
guozhigq
2023-10-24 23:00:47 +08:00
parent 59f7c52611
commit c41679d6f5

View File

@ -383,7 +383,9 @@ class PlPlayerController {
// 解除倍速限制
await pp.setProperty("af", "scaletempo2=max-speed=8");
// 音量不一致
await pp.setProperty("audio", "--ao=audiotrack");
await pp.setProperty("volume-max", "100");
await pp.setProperty("ao", "audiotrack,opensles");
// 音轨
if (dataSource.audioSource != '' && dataSource.audioSource != null) {
await pp.setProperty(