diff --git a/lib/pages/setting/models/video_settings.dart b/lib/pages/setting/models/video_settings.dart index d69863358..4fa2cbc22 100644 --- a/lib/pages/setting/models/video_settings.dart +++ b/lib/pages/setting/models/video_settings.dart @@ -321,9 +321,9 @@ List get videoSettings => [ const SwitchModel( title: '优先使用 OpenSL ES 输出音频', leading: Icon(Icons.speaker_outlined), - subtitle: '关闭则优先使用AudioTrack输出音频(此项即mpv的--ao),若遇系统音效丢失、无声、音画不同步等问题请尝试关闭。', + subtitle: '关闭则优先使用AAudio输出音频(此项即mpv的--ao),若遇系统音效丢失、无声、音画不同步等问题请尝试打开。', setKey: SettingBoxKey.useOpenSLES, - defaultVal: true, + defaultVal: false, ), const SwitchModel( title: '扩大缓冲区', diff --git a/lib/plugin/pl_player/controller.dart b/lib/plugin/pl_player/controller.dart index c1206c0bc..3ff3a63ed 100644 --- a/lib/plugin/pl_player/controller.dart +++ b/lib/plugin/pl_player/controller.dart @@ -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 diff --git a/lib/utils/storage_pref.dart b/lib/utils/storage_pref.dart index 33abe64a0..99b73af22 100644 --- a/lib/utils/storage_pref.dart +++ b/lib/utils/storage_pref.dart @@ -783,7 +783,7 @@ abstract final class Pref { _setting.get(SettingBoxKey.expandBuffer, defaultValue: false); static bool get useOpenSLES => - _setting.get(SettingBoxKey.useOpenSLES, defaultValue: true); + _setting.get(SettingBoxKey.useOpenSLES, defaultValue: false); static bool get enableAi => _setting.get(SettingBoxKey.enableAi, defaultValue: false);