dsound: IDirectSound_Compact should return DS_OK on priolevel >= DSSCL_PRIORITY.

This commit is contained in:
Maarten Lankhorst 2007-05-14 20:32:19 +02:00 committed by Alexandre Julliard
parent 2fb8c8aad0
commit 2e9fa34d67

View File

@ -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;
}