dsound: IDirectSound_Compact should return DS_OK on priolevel >= DSSCL_PRIORITY.
This commit is contained in:
parent
2fb8c8aad0
commit
2e9fa34d67
|
@ -1707,7 +1707,7 @@ HRESULT DirectSoundDevice_Compact(
|
||||||
return DSERR_UNINITIALIZED;
|
return DSERR_UNINITIALIZED;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (device->priolevel != DSSCL_PRIORITY) {
|
if (device->priolevel < DSSCL_PRIORITY) {
|
||||||
WARN("incorrect priority level\n");
|
WARN("incorrect priority level\n");
|
||||||
return DSERR_PRIOLEVELNEEDED;
|
return DSERR_PRIOLEVELNEEDED;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue