mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2025-04-25 09:00:55 +00:00
uncommented some code that was removed in ver 1.2 of this file to correct some sound problems many people were reporting
This commit is contained in:
parent
b7ebd7efa6
commit
bc7c094a33
1 changed files with 3 additions and 3 deletions
|
@ -291,8 +291,8 @@ sndinitstat SNDDMA_InitDirect (void)
|
||||||
}
|
}
|
||||||
// Changed DSSCL_EXCLUSIVE to DSSCL_NORMAL
|
// Changed DSSCL_EXCLUSIVE to DSSCL_NORMAL
|
||||||
// -- Robert S. Elsner <sockman@ngfc.com>
|
// -- Robert S. Elsner <sockman@ngfc.com>
|
||||||
if (DS_OK != pDS->lpVtbl->SetCooperativeLevel (pDS, mainwindow, DSSCL_NORMAL))
|
// if (DS_OK != pDS->lpVtbl->SetCooperativeLevel (pDS, mainwindow, DSSCL_NORMAL))
|
||||||
// if (DS_OK != pDS->lpVtbl->SetCooperativeLevel (pDS, mainwindow, DSSCL_EXCLUSIVE))
|
if (DS_OK != pDS->lpVtbl->SetCooperativeLevel (pDS, mainwindow, DSSCL_EXCLUSIVE))
|
||||||
{
|
{
|
||||||
Con_SafePrintf ("Set coop level failed\n");
|
Con_SafePrintf ("Set coop level failed\n");
|
||||||
FreeSound ();
|
FreeSound ();
|
||||||
|
@ -369,7 +369,7 @@ sndinitstat SNDDMA_InitDirect (void)
|
||||||
{
|
{
|
||||||
// Removed the option for -primarysound
|
// Removed the option for -primarysound
|
||||||
// -- Robert S. Elsner <sockman@ngfc.com>
|
// -- Robert S. Elsner <sockman@ngfc.com>
|
||||||
#if 0
|
#if 1
|
||||||
if (DS_OK != pDS->lpVtbl->SetCooperativeLevel (pDS, mainwindow, DSSCL_WRITEPRIMARY))
|
if (DS_OK != pDS->lpVtbl->SetCooperativeLevel (pDS, mainwindow, DSSCL_WRITEPRIMARY))
|
||||||
{
|
{
|
||||||
Con_SafePrintf ("Set coop level failed\n");
|
Con_SafePrintf ("Set coop level failed\n");
|
||||||
|
|
Loading…
Reference in a new issue