then whenever my application has focus, other applications don’t have access
to the sound card. I know things like Winamp & Starcraft have no problem
playing sound & music at the same time together… Does anyone have any
idea what I might be doing wrong? Major thanks in advance–
Peace,
Amit Jain
then whenever my application has focus, other applications don’t have access
to the sound card. I know things like Winamp & Starcraft have no problem
playing sound & music at the same time together… Does anyone have any
idea what I might be doing wrong? Major thanks in advance
Probably we’re setting a wrong flag in the DirectSound backend. Don’t have
anything more insightful to say than that.
Weren’t there things like cooperate levels which you need to specify for
your direct sound object and it might be that sdl is trying to set the
highest one available. Anyway- take a look at sources and look for
initialization functions for direct audio and especially for
SetCooperativeLevel and adjust them if you need and then recompile sdl.
Can anybody correct me, if i’m wrong?
Kovacs> ----- Original Message -----
From: icculus@icculus.org (Ryan C. Gordon)
To:
Sent: Sunday, March 10, 2002 4:31 AM
Subject: Re: [SDL] How do I get SDL_mixer to ‘share’ audio?
then whenever my application has focus, other applications don’t have
access
to the sound card. I know things like Winamp & Starcraft have no
problem
playing sound & music at the same time together… Does anyone have any
idea what I might be doing wrong? Major thanks in advance
Probably we’re setting a wrong flag in the DirectSound backend. Don’t have
anything more insightful to say than that.
then whenever my application has focus, other applications don’t have access
to the sound card. I know things like Winamp & Starcraft have no problem
playing sound & music at the same time together… Does anyone have any
idea what I might be doing wrong? Major thanks in advance
Probably we’re setting a wrong flag in the DirectSound backend. Don’t have
anything more insightful to say than that.
–ryan.
Under win2k, I tried playing an mp3 w/ winamp while simultaneously
playing an ogg + wav with a sdl mixer app. All three played well w/ each
other.
IDirectSound_SetCooperativeLevel(…) is what controls this, and sam seems
to be setting it appriorately in /SDL12/src/audio/windx5/SDL_dx5audio.c
– which would explain why it works for me :).