Reverted back to r3711, miscommit on my behalf
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3790 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
f6a334e87e
commit
a2fa186921
1 changed files with 0 additions and 24 deletions
|
@ -14,30 +14,6 @@
|
||||||
//FIXME: One thing I saw in quakeforge was that quakeforge basically leaves the audio locked except for a really short period of time.
|
//FIXME: One thing I saw in quakeforge was that quakeforge basically leaves the audio locked except for a really short period of time.
|
||||||
//An interesting idea, which ensures the driver can only paint in a small time-frame. this would possibly allow lower latency painting.
|
//An interesting idea, which ensures the driver can only paint in a small time-frame. this would possibly allow lower latency painting.
|
||||||
|
|
||||||
/*
|
|
||||||
==================
|
|
||||||
S_BlockSound
|
|
||||||
==================
|
|
||||||
*/
|
|
||||||
//all devices
|
|
||||||
void S_BlockSound (void)
|
|
||||||
{
|
|
||||||
soundcardinfo_t *sc;
|
|
||||||
wavhandle_t *wh;
|
|
||||||
|
|
||||||
snd_blocked++;
|
|
||||||
|
|
||||||
for (sc = sndcardinfo; sc; sc=sc->next)
|
|
||||||
{
|
|
||||||
if (sc->Submit == WAV_Submit && !sc->inactive_sound)
|
|
||||||
{
|
|
||||||
wh = sc->handle;
|
|
||||||
if (snd_blocked == 1)
|
|
||||||
waveOutReset (wh->hWaveOut);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
static void SSDL_Shutdown(soundcardinfo_t *sc)
|
static void SSDL_Shutdown(soundcardinfo_t *sc)
|
||||||
{
|
{
|
||||||
Con_Printf("Shutdown SDL sound\n");
|
Con_Printf("Shutdown SDL sound\n");
|
||||||
|
|
Loading…
Reference in a new issue