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:
commit
3527d97aac
|
@ -100,6 +100,8 @@ std::string GetDefaultSoundBackend()
|
||||||
#elif defined __linux__
|
#elif defined __linux__
|
||||||
if (AlsaSound::IsValid())
|
if (AlsaSound::IsValid())
|
||||||
backend = BACKEND_ALSA;
|
backend = BACKEND_ALSA;
|
||||||
|
else
|
||||||
|
backend = BACKEND_CUBEB;
|
||||||
#elif defined(__APPLE__) || defined(_WIN32) || defined(__OpenBSD__)
|
#elif defined(__APPLE__) || defined(_WIN32) || defined(__OpenBSD__)
|
||||||
backend = BACKEND_CUBEB;
|
backend = BACKEND_CUBEB;
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue