mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-01 09:50:52 +00:00
dsound: IDirectSound_Compact should return DS_OK on priolevel >= DSSCL_PRIORITY.
This commit is contained in:
parent
2fb8c8aad0
commit
2e9fa34d67
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue