-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:
parent
b252c7d239
commit
cf529ec485
|
@ -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 |
|
||||
|
|
Loading…
Reference in New Issue