From ba2ccf388977bd1503de5f0e9792816c253a4239 Mon Sep 17 00:00:00 2001 From: Brad Smith Date: Sun, 14 Apr 2024 18:47:20 -0400 Subject: [PATCH] Set default sound backend on OpenBSD to cubeb Set the default sound backend to cubeb instead of the default being none. --- Source/Core/AudioCommon/AudioCommon.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/AudioCommon/AudioCommon.cpp b/Source/Core/AudioCommon/AudioCommon.cpp index ba317d2828..b212859e29 100644 --- a/Source/Core/AudioCommon/AudioCommon.cpp +++ b/Source/Core/AudioCommon/AudioCommon.cpp @@ -100,7 +100,7 @@ std::string GetDefaultSoundBackend() #elif defined __linux__ if (AlsaSound::IsValid()) backend = BACKEND_ALSA; -#elif defined(__APPLE__) || defined(_WIN32) +#elif defined(__APPLE__) || defined(_WIN32) || defined(__OpenBSD__) backend = BACKEND_CUBEB; #endif return backend;