Audio Stops when window is out of focus

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?

thanks

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

THANKS!!!
thought this thread was a lost cause :)On Sun, May 18, 2008 at 12:11 AM, Sam Lantinga wrote:

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


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org