-Special thanks to ImP0steR for this fix. This should help those that can't seem to use hardware buffer mixing.

This commit is contained in:
cyberwarriorx 2007-02-05 23:05:00 +00:00
parent b252c7d239
commit cf529ec485
1 changed files with 2 additions and 1 deletions

View File

@ -125,7 +125,8 @@ int SNDDXInit(int buffersize)
{
if (ret == DSERR_CONTROLUNAVAIL ||
ret == DSERR_INVALIDCALL ||
ret == E_FAIL)
ret == E_FAIL ||
ret == E_NOTIMPL)
{
// Try using a software buffer instead
dsbdesc.dwFlags = DSBCAPS_GLOBALFOCUS | DSBCAPS_STICKYFOCUS |