diff --git a/pulseaudio.changes b/pulseaudio.changes index 13e564f..489b2b9 100644 --- a/pulseaudio.changes +++ b/pulseaudio.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Aug 25 10:45:32 CEST 2021 - tiwai@suse.de + +- Drop SDL_AUDIODRIVER override, as SDL already prefers PA as + default; this also fixes the recent breakage with SDL2 (bsc#1189778) + ------------------------------------------------------------------- Tue Aug 3 20:50:50 UTC 2021 - Ondrej Holecek diff --git a/setup-pulseaudio b/setup-pulseaudio index 0edd4b2..106e2f2 100644 --- a/setup-pulseaudio +++ b/setup-pulseaudio @@ -153,8 +153,13 @@ enable_oss() { enable_sdl() { echo "Enabling PulseAudio for SDL..." - # For SDL, we just add an environment variable, so that apps use the PA audio driver - set_variable SDL_AUDIODRIVER pulse + # We don't need the audio driver override for SDL; SDL prefers already + # pulseaudio as default (bsc#1189778) + delete_variable SDL_AUDIODRIVER + + # Alternatively, we may set "pulseaudio" explicitly, which should be + # applicable both for SDL-1.2 and SDL-2 + # set_variable SDL_AUDIODRIVER pulseaudio } enable_timidity() {