summaryrefslogtreecommitdiff
path: root/Source/Core/AudioCommon/AudioCommon.cpp
diff options
context:
space:
mode:
authorLéo Lam <leo@innovatetechnologi.es>2019-05-11 14:31:42 +0200
committerGitHub <noreply@github.com>2019-05-11 14:31:42 +0200
commita0a0a688018a470f702361e56e37bde44a96afca (patch)
tree43d1557ec118d5b06a29fa5ff96e2bf9059283ef /Source/Core/AudioCommon/AudioCommon.cpp
parent2f89a503189e491ac29c8c46121b4cb627267180 (diff)
parentee8226cc1b1141cabd58fb3b774c18984333cd3b (diff)
Merge pull request #7972 from Miksel12/cubeb-standard
Set Cubeb as default on Windows
Diffstat (limited to 'Source/Core/AudioCommon/AudioCommon.cpp')
-rw-r--r--Source/Core/AudioCommon/AudioCommon.cpp4
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;
}