Accepting request 914218 from home:tiwai:branches:multimedia:libs

- Drop SDL_AUDIODRIVER override, as SDL already prefers PA as
  default; this also fixes the recent breakage with SDL2 (bsc#1189778)

OBS-URL: https://build.opensuse.org/request/show/914218
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/pulseaudio?expand=0&rev=241
This commit is contained in:
Takashi Iwai 2021-08-25 11:37:32 +00:00 committed by Git OBS Bridge
parent a390faf263
commit 04b061ea7c
2 changed files with 13 additions and 2 deletions

View File

@ -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 <oholecek@suse.com>

View File

@ -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() {