diff options
| author | Miksel12 <47903084+Miksel12@users.noreply.github.com> | 2019-04-08 14:27:48 +0200 |
|---|---|---|
| committer | Léo Lam <leo@innovatetechnologi.es> | 2019-05-11 14:22:03 +0200 |
| commit | ee8226cc1b1141cabd58fb3b774c18984333cd3b (patch) | |
| tree | 43d1557ec118d5b06a29fa5ff96e2bf9059283ef /Source/Core/AudioCommon/AudioCommon.cpp | |
| parent | 2f89a503189e491ac29c8c46121b4cb627267180 (diff) | |
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.
Diffstat (limited to 'Source/Core/AudioCommon/AudioCommon.cpp')
| -rw-r--r-- | Source/Core/AudioCommon/AudioCommon.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Source/Core/AudioCommon/AudioCommon.cpp b/Source/Core/AudioCommon/AudioCommon.cpp index 450d2ff8c5..1ffc377c56 100644 --- a/Source/Core/AudioCommon/AudioCommon.cpp +++ b/Source/Core/AudioCommon/AudioCommon.cpp @@ -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; } |
