mirror of
https://github.com/reactos/wine.git
synced 2024-11-24 20:30:01 +00:00
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;
|
||||
}
|
||||
|
||||
if (device->priolevel != DSSCL_PRIORITY) {
|
||||
if (device->priolevel < DSSCL_PRIORITY) {
|
||||
WARN("incorrect priority level\n");
|
||||
return DSERR_PRIOLEVELNEEDED;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user