Skip to content

Commit

Permalink
fix: Fixed the audio issue under Treeland
Browse files Browse the repository at this point in the history
Fixed the audio issue under Treeland

Log: Fixed the audio issue under Treeland
  • Loading branch information
pengfeixx committed Dec 9, 2024
1 parent 030ebc8 commit a4fbf41
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/backends/mpv/mpv_proxy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit a4fbf41

Please sign in to comment.