[SDL] Audio Stops when window is out of focus

Sam Lantinga slouken at devolution.com
Sat May 17 21:11:44 PDT 2008


> HI,
> I'm using SDL on WinXP and SDL_OpenAudio() stops audio if my
> application isn't in focus. how do i change this behavior?

You need o modify DSOUND_SoundFocus() in SDL_dx5audio.c and comment out
the line in that function.

See ya!
	-Sam Lantinga, Lead Software Engineer, Blizzard Entertainment


More information about the SDL mailing list