Module: wine Branch: master Commit: 2e9fa34d678c348e2e8b4c520726c63a1cf1896a URL: http://source.winehq.org/git/wine.git/?a=commit;h=2e9fa34d678c348e2e8b4c5207...
Author: Maarten Lankhorst m.b.lankhorst@gmail.com Date: Mon May 14 20:32:19 2007 +0200
dsound: IDirectSound_Compact should return DS_OK on priolevel >= DSSCL_PRIORITY.
---
dlls/dsound/dsound.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/dsound/dsound.c b/dlls/dsound/dsound.c index fbcc798..a9c0230 100644 --- a/dlls/dsound/dsound.c +++ b/dlls/dsound/dsound.c @@ -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; }