From a0af7ce731e83145612f6c2185fe6e82b2587366 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Tue, 10 Aug 2021 15:05:49 -0700 Subject: [PATCH] OSS is no longer the preferred audio backend on modern UNIX systems Fixes https://github.com/libsdl-org/SDL/issues/4207 --- src/audio/SDL_audio.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/audio/SDL_audio.c b/src/audio/SDL_audio.c index 4a6cbc830..69cddd535 100644 --- a/src/audio/SDL_audio.c +++ b/src/audio/SDL_audio.c @@ -47,9 +47,6 @@ static const AudioBootStrap *const bootstrap[] = { #if SDL_AUDIO_DRIVER_NETBSD &NETBSDAUDIO_bootstrap, #endif -#if SDL_AUDIO_DRIVER_OSS - &DSP_bootstrap, -#endif #if SDL_AUDIO_DRIVER_QSA &QSAAUDIO_bootstrap, #endif @@ -113,6 +110,9 @@ static const AudioBootStrap *const bootstrap[] = { #if SDL_AUDIO_DRIVER_PIPEWIRE &PIPEWIRE_bootstrap, #endif +#if SDL_AUDIO_DRIVER_OSS + &DSP_bootstrap, +#endif #if SDL_AUDIO_DRIVER_OS2 &OS2AUDIO_bootstrap, #endif