summaryrefslogtreecommitdiff
path: root/Source/Core/AudioCommon/AudioCommon.cpp
diff options
context:
space:
mode:
authorBrad Smith <brad@comstyle.com>2024-04-14 18:47:20 -0400
committerBrad Smith <brad@comstyle.com>2024-04-14 18:47:20 -0400
commitba2ccf388977bd1503de5f0e9792816c253a4239 (patch)
tree159c4bc105d8000f1e5436f42700962ebc58ab29 /Source/Core/AudioCommon/AudioCommon.cpp
parent637ae12ff447b3cbca1c7435ee841d5efed2b13b (diff)
Set default sound backend on OpenBSD to cubeb
Set the default sound backend to cubeb instead of the default being none.
Diffstat (limited to 'Source/Core/AudioCommon/AudioCommon.cpp')
-rw-r--r--Source/Core/AudioCommon/AudioCommon.cpp2
1 files changed, 1 insertions, 1 deletions
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;