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

This commit is contained in:
Maarten Lankhorst 2008-05-05 20:10:30 -07:00 committed by Alexandre Julliard
parent f74075b776
commit fc777c0ed3

View file

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