From 55b3a9c906b01544b0bbb35c1dfa14aed0932944 Mon Sep 17 00:00:00 2001 From: Paul Vriens Date: Wed, 14 Oct 2009 10:56:36 +0200 Subject: [PATCH] winmm/tests: Fix some test failures in Win9x and WinMe. --- dlls/winmm/tests/wave.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/dlls/winmm/tests/wave.c b/dlls/winmm/tests/wave.c index 8a9caf2bda6..3e3afbd5242 100644 --- a/dlls/winmm/tests/wave.c +++ b/dlls/winmm/tests/wave.c @@ -791,9 +791,11 @@ static void wave_out_test_deviceOut(int device, double duration, } for (i = 0; i < headers; i++) { - ok(frags[i].dwFlags==(WHDR_DONE|WHDR_PREPARED), - "WHDR_DONE WHDR_PREPARED expected, got %s\n", - wave_header_flags(frags[i].dwFlags)); + ok(frags[i].dwFlags==(WHDR_DONE|WHDR_PREPARED) || + broken((flags & CALLBACK_TYPEMASK)==CALLBACK_EVENT && + frags[i].dwFlags==(WHDR_DONE|WHDR_PREPARED|0x1000)), /* < NT4 */ + "(%02d) WHDR_DONE WHDR_PREPARED expected, got %s\n", + i, wave_header_flags(frags[i].dwFlags)); } check_position(device, wout, length * (loops + 1), pwfx); }