From fc777c0ed3adc1f3a81a45fca083595439b2ad75 Mon Sep 17 00:00:00 2001 From: Maarten Lankhorst Date: Mon, 5 May 2008 20:10:30 -0700 Subject: [PATCH] winmm: Make mixer test less strict so it passes with SoundMAX drivers on XP. --- dlls/winmm/tests/mixer.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dlls/winmm/tests/mixer.c b/dlls/winmm/tests/mixer.c index 89ac7c90735..ed68f89be71 100644 --- a/dlls/winmm/tests/mixer.c +++ b/dlls/winmm/tests/mixer.c @@ -549,8 +549,8 @@ static void mixer_test_deviceA(int device) } } rc=mixerClose(mix); - ok(rc==MMSYSERR_NOERROR, - "mixerClose: MMSYSERR_BADDEVICEID expected, got %s\n", + ok(rc==MMSYSERR_NOERROR || rc==MMSYSERR_INVALHANDLE, + "mixerClose: MMSYSERR_NOERROR or MMSYSERR_INVALHANDLE expected, got %s\n", mmsys_error(rc)); } } @@ -954,8 +954,8 @@ static void mixer_test_deviceW(int device) } } rc=mixerClose(mix); - ok(rc==MMSYSERR_NOERROR, - "mixerClose: MMSYSERR_BADDEVICEID expected, got %s\n", + ok(rc==MMSYSERR_NOERROR || rc==MMSYSERR_INVALHANDLE, + "mixerClose: MMSYSERR_NOERROR or MMSYSERR_INVALHANDLE expected, got %s\n", mmsys_error(rc)); } }