Bug 2363 - With SDL_AUDIODRIVER set to alsa, no sound is output
Status: RESOLVED INVALID
Alias: None
Product: ioquake3
Classification: Unclassified
Component: Sound
Version: 1.33 SVN
Hardware: PC Linux
: P2 normal
Assignee: Ryan C. Gordon
QA Contact: ioquake3 bugzilla mailing list
URL:
Depends on:
Blocks:
 
Reported: 2005-09-03 17:33 EDT by Dave Wickham
Modified: 2007-05-21 11:22:45 EDT
0 users

See Also:



Description Dave Wickham 2005-09-03 17:33:20 EDT
As the summary says, when I have SDL_AUDIODRIVER set to "alsa" and run Quake 3, 
I get no audio output. In addition, the following is output to the console:

------- sound initialization -------
SDL Audio driver initializing...
SDL audio driver is "(UNKNOWN)"
SDL_OpenAudio() failed: No available audio device
------------------------------------

This is with current SVN.

dave@tc4:~/quake3/code/unix$ gcc --version
gcc (GCC) 4.0.2 20050808 (prerelease) (Debian 4.0.1-4ubuntu5)

dave@tc4:~/quake3/code/unix$ sdl-config --version
1.2.8

dave@tc4:/usr/local/games/darwinia/lib$ lspci | grep SB\ Live
0000:00:0b.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 
07)

Darwinia still works fine with the environment variable set, and libSDL 
symlinked in, so it doesn't seem to be an actual SDL problem.
Comment 1 Ryan C. Gordon 2005-09-04 18:33:38 EDT
The (UNKNOWN) part means that you don't have alsa support in your SDL build.
Make sure you've got the right SDL, and that there aren't other ones sitting around.

Works with both alsa and oss here, depending on which I force with the
SDL_AUDIODRIVER variable...and that (UNKNOWN) says "alsa" in the appropriate cases.

--ryan.

Comment 2 Ryan C. Gordon 2007-05-21 11:22:45 EDT
Setting a QA contact on all ioquake3 bugs, even resolved ones. Sorry if you get a flood of email from this, it should only happen once. Apologies for the incovenience.

--ryan.