opt: aaudio (#1805)

* opt: aaudio
This commit is contained in:
My-Responsitories
2026-01-18 09:29:34 +08:00
committed by GitHub
parent 2879d0dc00
commit 25148509d2
3 changed files with 4 additions and 6 deletions

View File

@@ -797,9 +797,7 @@ class PlPlayerController {
await pp.setProperty("af", "scaletempo2=max-speed=8");
if (Platform.isAndroid) {
await pp.setProperty("volume-max", "100");
String ao = Pref.useOpenSLES
? "opensles,audiotrack"
: "audiotrack,opensles";
final ao = Pref.useOpenSLES ? "opensles,aaudio" : "aaudio,opensles";
await pp.setProperty("ao", ao);
}
// video-sync=display-resample