Bug 427879 - move SDL_AUDIODRIVER=esd wrapper script to separate rpm
move SDL_AUDIODRIVER=esd wrapper script to separate rpm
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: SDL_sound (Show other bugs)
8
All Linux
low Severity low
: ---
: ---
Assigned To: Hans de Goede
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2008-01-07 19:42 EST by Tom Horsley
Modified: 2008-01-08 03:33 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-01-08 03:33:15 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Tom Horsley 2008-01-07 19:42:36 EST
Description of problem:

Loads of people are getting their audio to work by removing pulseaudio
(or at least enough of it that the remaining bits are inactive). Because
the /etc/profile.d/SDL_pulseaudio_hack.* files are part of SDL itself, you
can't simply yum erase the pulseaudio bits of SDL. If they were in a
separate rpm, you could easily remove them along with the other pulseaudio
bits.

Version-Release number of selected component (if applicable):
SDL-1.2.12-5.fc8
Comment 1 Kevin Kofler 2008-01-07 20:03:58 EST
The hack is already conditionalized on existence of alsa-plugins-pulseaudio 
(libasound_module_pcm_pulse.so). If you have alsa-plugins-pulseaudio installed 
and don't do the SDL_AUDIODRIVER=esd hack, you'll not get working audio, 
whether PA is running or not.
Comment 2 Tom Horsley 2008-01-07 22:04:37 EST
I don't know what condition you're talking about. The files I see simply
unconditionally set the SDL_AUDIODRIVER environment variable. They aren't
looking for any condition to base it on, and when I removed the alsa plugin
for pulseaudio, none of my SDL sound would work until I unset
the environment variable.
Comment 3 Hans de Goede 2008-01-08 03:33:15 EST
(In reply to comment #2)
> I don't know what condition you're talking about. The files I see simply
> unconditionally set the SDL_AUDIODRIVER environment variable. They aren't
> looking for any condition to base it on, and when I removed the alsa plugin
> for pulseaudio, none of my SDL sound would work until I unset
> the environment variable.

Then you either haven't done a yum update before filing this bug (please always
check the latest updates before filing bugs) or you don't recognize the
conditional because its not coded with an if but with a [ test ] && .

Anyways putting the SDL_AUDIODRIVER=esd wrapper script in a seperate rpm is
useless, because then people who install SDL through deps won't get it and thus
not have working sound.

If you disable pulseaudio, also do a "yum remove alsa-plugins-pulseaudio", and
make sure you have all recent updates applied, then things should work as is.

Closing.


Note You need to log in before you can comment on or make changes to this bug.