Scott Bahling changed bug 1191868
What Removed Added
CC   tiwai@suse.com
Flags   needinfo?(tiwai@suse.com)

Comment # 1 on bug 1191868 from
This appears to be an effect of environment variable usage between SDL 1.2 and
SDL 2.0

https://wiki.libsdl.org/FAQUsingSDL#how_do_i_choose_a_specific_audio_driver

SDL 1.2 wants "pulse" and 2.0 wants "pulseaudio" and we have programs requiring
either 1.2 or 2.0. So picking a right default is a challenge.

Looks like SDL defaults to pulseaudio if SDL_AUDIODRIVER is not set, and a
quick test I did seems to verify that. So perhaps we shouldn't set the variable
in the first place.

On my installation the system default is set by the pulseaudio package BTW.

# cat /etc/profile.d/pulseaudio.sh
alias aumix='padsp aumix'
alias sox='padsp sox'
export SDL_AUDIODRIVER=pulse
alias timidity='timidity -Oe'
export AUDIODRIVER=pulseaudio
export QEMU_AUDIO_DRV=pa

# rpm -qf /etc/profile.d/pulseaudio.sh
pulseaudio-14.2-4.2.x86_64

The pulseaudio changelog shows we fixed this already in TW with bug1189778.

@Takashi, should we fix this for Leap as well?


You are receiving this mail because: