Set Cubeb as default on Windows

Cubeb and Xaudio2 are identical in features while Cubeb has lower
latency and is still actively being worked on.
This commit is contained in:
Miksel12 2019-04-08 14:27:48 +02:00 committed by Léo Lam
parent 2f89a50318
commit ee8226cc1b

View File

@ -89,10 +89,8 @@ std::string GetDefaultSoundBackend()
#elif defined __linux__
if (AlsaSound::isValid())
backend = BACKEND_ALSA;
#elif defined __APPLE__
#elif defined(__APPLE__) || defined(_WIN32)
backend = BACKEND_CUBEB;
#elif defined _WIN32
backend = BACKEND_XAUDIO2;
#endif
return backend;
}