Merge pull request #12713 from Dentomologist/linux_default_to_cubeb_when_alsa_is_absent

AudioCommon: When ALSA is absent on Linux, default to Cubeb backend
This commit is contained in:
Admiral H. Curtiss 2024-04-17 05:14:48 +02:00 committed by GitHub
commit 3527d97aac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -100,6 +100,8 @@ std::string GetDefaultSoundBackend()
#elif defined __linux__
if (AlsaSound::IsValid())
backend = BACKEND_ALSA;
else
backend = BACKEND_CUBEB;
#elif defined(__APPLE__) || defined(_WIN32) || defined(__OpenBSD__)
backend = BACKEND_CUBEB;
#endif