SDL sound support for ezquake(used by nquake), allowing you to easily set the sound subsystem via the ezquake config. I mainly wrote it to easily use ezquake with pulseaudio.
C
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Makefile
Makefile.list
README
pr_exec.c
snd_linux.c
snd_sdl.c

README

These files should /overwrite/ their respective counterparts in the ezquake
source.

This code replaces parts of ezquakes ALSA audio driver with SDL. 

You can thus configure ezquake to use whichever sound engine SDL supports - including ALSA itself or more exotic options like pulseaudio, etc, by simply setting the s_device variable in your quake configuration.

This was written because I wanted to quickly add support for pulseaudio. Since SDL supports pulseaudio (and many other sound subsystems!) this was the easiest way to do it.

To tell SDL_Audio to use the pulseaudio driver, simply set
s_device "pulse" 
in your config.cfg.