mirror of
https://github.com/kunkundi/crossdesk.git
synced 2026-08-10 04:09:26 +08:00
[fix] let SDL select available Linux audio driver
This commit is contained in:
@@ -943,10 +943,6 @@ void GuiApplication::InitializeSettings() {
|
|||||||
|
|
||||||
bool GuiApplication::InitializeSDL() {
|
bool GuiApplication::InitializeSDL() {
|
||||||
#if defined(__linux__) && !defined(__APPLE__)
|
#if defined(__linux__) && !defined(__APPLE__)
|
||||||
if (!getenv("SDL_AUDIODRIVER")) {
|
|
||||||
setenv("SDL_AUDIODRIVER", "pulseaudio", 0);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Standard Wayland top-level windows cannot choose an absolute screen
|
// Standard Wayland top-level windows cannot choose an absolute screen
|
||||||
// position. Use the session's XWayland compatibility server for the GUI so
|
// position. Use the session's XWayland compatibility server for the GUI so
|
||||||
// auxiliary windows such as the controlled-side status window can be
|
// auxiliary windows such as the controlled-side status window can be
|
||||||
|
|||||||
Reference in New Issue
Block a user