Merge pull request #12708 from brad0/openbsd_sound_backend

Set default sound backend on OpenBSD to cubeb
This commit is contained in:
Admiral H. Curtiss 2024-04-16 22:41:28 +02:00 committed by GitHub
commit e757d5ea9c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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;