[SDL] sdl sound

Greg Lee greg at ling.lll.hawaii.edu
Wed Aug 11 08:44:54 PDT 2004


On Wed, 11 Aug 2004, kleinree wrote:

> hi    
>     
> does anyone know how to choose a sounddevice by using sdl / sdl_mixer    

On Linux, you do:
	export SDL_AUDIODRIVER=<drivername>

>     
> if i have two soundcards in my pc, how can tell sdl to play the  
> sound on the first one or  the second  

Dunno.

>     
> does sdl / sdl_mixer support more channels than mono / stereo ??    

No, but on Linux and using the Alsa sound driver, it could.  Support
for other systems would only require modifying other sound drivers.
I made a set of patches early this summer for 4/6 channel support.
They're at ftp://ling.lll.hawaii.edu/pub/greg/Surround-SDL.tgz.

I worked at improving the support for 4/6 channels off and on this
summer, but I've given it up now, since no one seems to be interested.

Greg Lee <greg at ling.lll.hawaii.edu>





More information about the SDL mailing list