From ee8226cc1b1141cabd58fb3b774c18984333cd3b Mon Sep 17 00:00:00 2001 From: Miksel12 <47903084+Miksel12@users.noreply.github.com> Date: Mon, 8 Apr 2019 14:27:48 +0200 Subject: [PATCH] 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. --- Source/Core/AudioCommon/AudioCommon.cpp | 4 +--- 1 file changed, 1 insertion(+), 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; }