mirror of
https://github.com/AppleWin/AppleWin.git
synced 2025-02-09 14:30:56 +00:00
Fixed SoundCore.cpp's call to GetCaps()
This commit is contained in:
parent
9e547c9d30
commit
24f389072a
@ -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;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user