Fixed SoundCore.cpp's call to GetCaps()

This commit is contained in:
tomch 2009-05-04 22:07:17 +00:00
parent 9e547c9d30
commit 24f389072a

View File

@ -517,17 +517,15 @@ bool DSInit()
return false; return false;
} }
#if 0
DSCAPS DSCaps; DSCAPS DSCaps;
ZeroMemory(&DSCaps, sizeof(DSBCAPS)); ZeroMemory(&DSCaps, sizeof(DSCAPS));
DSCaps.dwSize = sizeof(DSBCAPS); DSCaps.dwSize = sizeof(DSCAPS);
hr = g_lpDS->GetCaps(&DSCaps); hr = g_lpDS->GetCaps(&DSCaps);
if(FAILED(hr)) if(FAILED(hr))
{ {
DirectSound_ErrorText(hr); if(g_fh) fprintf(g_fh, "GetCaps failed (%08X)\n",hr);
return false; // Not fatal: so continue...
} }
#endif
g_bDSAvailable = true; g_bDSAvailable = true;