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:
Thad Ward 2000-04-22 23:12:04 +00:00
parent b7ebd7efa6
commit bc7c094a33

View file

@ -291,8 +291,8 @@ sndinitstat SNDDMA_InitDirect (void)
}
// Changed DSSCL_EXCLUSIVE to DSSCL_NORMAL
// -- 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_EXCLUSIVE))
// if (DS_OK != pDS->lpVtbl->SetCooperativeLevel (pDS, mainwindow, DSSCL_NORMAL))
if (DS_OK != pDS->lpVtbl->SetCooperativeLevel (pDS, mainwindow, DSSCL_EXCLUSIVE))
{
Con_SafePrintf ("Set coop level failed\n");
FreeSound ();
@ -369,7 +369,7 @@ sndinitstat SNDDMA_InitDirect (void)
{
// Removed the option for -primarysound
// -- Robert S. Elsner <sockman@ngfc.com>
#if 0
#if 1
if (DS_OK != pDS->lpVtbl->SetCooperativeLevel (pDS, mainwindow, DSSCL_WRITEPRIMARY))
{
Con_SafePrintf ("Set coop level failed\n");