[SDL] 1.2.0 audio problems.

Sam Lantinga slouken at devolution.com
Mon Apr 23 15:02:59 PDT 2001


> My application lets the user toggle audio on and off at run-time, basically
> just calling SDL_OpenAudio() and SDL_CloseAudio().  This works fine with
> SDL 1.0.8, but using 1.2.0 there's a problem.

> If the user tries to enable audio and the sound card is busy they get the
> expected error.  When the sound device is free again SDL_OpenAudio() just
> fails immediately with the previous error and the application has to be
> restarted to get it working again.

Can you post a minimal code sample that we can use to reproduce the
problem?

Thanks!
	-Sam Lantinga, Lead Programmer, Loki Entertainment Software



More information about the SDL mailing list