From a4fbf414566eec1a661172e2548a79c183f526a9 Mon Sep 17 00:00:00 2001 From: xiepengfei Date: Sat, 7 Dec 2024 15:29:45 +0800 Subject: [PATCH] fix: Fixed the audio issue under Treeland Fixed the audio issue under Treeland Log: Fixed the audio issue under Treeland --- src/backends/mpv/mpv_proxy.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/backends/mpv/mpv_proxy.cpp b/src/backends/mpv/mpv_proxy.cpp index d3208cdc..5a03e5fb 100644 --- a/src/backends/mpv/mpv_proxy.cpp +++ b/src/backends/mpv/mpv_proxy.cpp @@ -460,6 +460,10 @@ mpv_handle *MpvProxy::mpv_init() } } #endif + if (utils::check_wayland_env()) { + qInfo() << "V25 set ao auto"; + my_set_property(pHandle, "ao", "auto"); + } if (QFile::exists("/sys/bus/pci/drivers/ljmcore")) { my_set_property(pHandle, "vo", "vaapi");