mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-24 15:01:16 +01:00
AudioCommon: When ALSA is absent on Linux, default to Cubeb backend
Default to Cubeb instead of the NULL backend on Linux when ALSA isn't valid.
This commit is contained in:
parent
83b5124d40
commit
9c5605a59c
@ -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…
x
Reference in New Issue
Block a user