How to fix sound in wolfenstein Enemy Territory
I got tired of rebooting to windows just to play wolf-et, so i tried doing clean install of ubuntu 10.10 (maverick).
And after that I just installed Wolfenstein: ET from playdeb and everything works great. http://www.playdeb.net/software/Enemy%20Territory
Not sure why you're running esd
. I thought that was kicked out years ago for PulseAudio. If you don't have PulseAudio, I probably wouldn't follow the rest of this answer.
First, make sure SDL can talk directly to Pulseaudio:
sudo apt-get install libsdl1.2debian:i386 libsdl1.2debian
Then with the et-sdl-sound
script, change SDL_AUDIODRIVER="alsa"
to SDL_AUDIODRIVER="pulse"
.
Sound should magically start flowing into your ears and life will be much better.
Some people have also in the past had success with temporarily killing PulseAudio (to release the hardware) and manually setting the driver:
pasuspender -- et +set s_alsa_pcm plughw:0