Commit fc777c0e authored by Maarten Lankhorst's avatar Maarten Lankhorst Committed by Alexandre Julliard

winmm: Make mixer test less strict so it passes with SoundMAX drivers on XP.

parent f74075b7
...@@ -549,8 +549,8 @@ static void mixer_test_deviceA(int device) ...@@ -549,8 +549,8 @@ static void mixer_test_deviceA(int device)
} }
} }
rc=mixerClose(mix); rc=mixerClose(mix);
ok(rc==MMSYSERR_NOERROR, ok(rc==MMSYSERR_NOERROR || rc==MMSYSERR_INVALHANDLE,
"mixerClose: MMSYSERR_BADDEVICEID expected, got %s\n", "mixerClose: MMSYSERR_NOERROR or MMSYSERR_INVALHANDLE expected, got %s\n",
mmsys_error(rc)); mmsys_error(rc));
} }
} }
...@@ -954,8 +954,8 @@ static void mixer_test_deviceW(int device) ...@@ -954,8 +954,8 @@ static void mixer_test_deviceW(int device)
} }
} }
rc=mixerClose(mix); rc=mixerClose(mix);
ok(rc==MMSYSERR_NOERROR, ok(rc==MMSYSERR_NOERROR || rc==MMSYSERR_INVALHANDLE,
"mixerClose: MMSYSERR_BADDEVICEID expected, got %s\n", "mixerClose: MMSYSERR_NOERROR or MMSYSERR_INVALHANDLE expected, got %s\n",
mmsys_error(rc)); mmsys_error(rc));
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment