[SDL] Audio Stops when window is out of focus

malik martin laserbeak43 at gmail.com
Sun May 18 00:25:06 PDT 2008


THANKS!!!
thought this thread was a lost cause :)

On Sun, May 18, 2008 at 12:11 AM, Sam Lantinga <slouken at devolution.com> 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
>


More information about the SDL mailing list