[SDL] No sound from sdl app on win32 when window not active

Torsten Giebl wizard at syntheticsoft.com
Sun Oct 21 02:11:01 PDT 2001


Hello Syver !

Thats because normally SDL uses when it is available DirectSound.
At DS the Sound Output is always connected to a special window to get
as little latency as possible. If you want to use WaveOut instead of DS look at this:

http://www.libsdl.org/faq/FAQ-General.html#GENERAL_AUDIODRIVER


CU


"Syver Enstad" <syvere at yahoo.com> schrieb im Newsbeitrag news:mailman.1003626005.1922.sdl at libsdl.org...
> Is there any way to get sound even when the window is
> inactive I'm just making myself a little mp3 player
> and it's very inconvinient that the sound stops when
> the window is inactive (in the background).
>
> If it's impossible to do this without changing the
> source, could somenone please tell me where in the
> source of sdl this happens, sdl_mixer perhaps?
>
> __________________________________________________
> Do You Yahoo!?
> Make a great connection at Yahoo! Personals.
> http://personals.yahoo.com
>





More information about the SDL mailing list