Merge pull request #7972 from Miksel12/cubeb-standard

Set Cubeb as default on Windows
This commit is contained in:
Léo Lam 2019-05-11 14:31:42 +02:00 committed by GitHub
commit a0a0a68801
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

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;
}