[SDL] SDL_Init(SDL_INIT_AUDIO) crash
karlb at gmx.net
Fri Dec 8 06:00:13 PST 2000
I forgot to tell that I do *not* use esd.
> It does look like a Esound problem, you could probably try several things
> Explicitly tell SDL to use esd (export SDL_AUDIODRIVER=esd).
> Try with esd both running and not running
> Upgrade you esd version.
> Make sure you don't have ESPEAKER set.
> Disable esd in SDL by passing configure --enable-esd=no
> On Wed, Dec 06, 2000 at 07:43:13PM +0100, Karl Bartel wrote:
> > One of my games crashed when /dev/dsp is in use, when I call
> > SDL_Init(SDL_INIT_AUDIO), even if it's the first line in the main function. The
> > only output is "/dev/dsp: Device or resource busy". That's probably my fault,
> > since other programs work well. Does anyone have an idea what could cause this?
> > Here's gdb's output:
> > #0 0x80547ec in pause ()
> > #1 0x40233a73 in esd_open_sound () from /usr/lib/libesd.so.0
> > #2 0x40025490 in SDL_OpenAudioPath () from /usr/local/lib/libSDL-1.1.so.0
> > #3 0x4002318a in SDL_AudioInit () from /usr/local/lib/libSDL-1.1.so.0
> > #4 0x400222c6 in SDL_InitSubSystem () from /usr/local/lib/libSDL-1.1.so.0
> > #5 0x40022385 in SDL_Init () from /usr/local/lib/libSDL-1.1.so.0
> > #6 0x804b241 in main (argc=2, argv=0xbffffbe4) at main.c:435
> Bother! said Pooh punching holes in another shipment of condoms.
More information about the SDL