diff --git a/dlls/xactengine3_7/tests/xact3.c b/dlls/xactengine3_7/tests/xact3.c index 2a97f5f7c5c..48a5f0a4374 100644 --- a/dlls/xactengine3_7/tests/xact3.c +++ b/dlls/xactengine3_7/tests/xact3.c @@ -206,7 +206,13 @@ static void test_notifications(void) params.fnNotificationCallback = notification_cb; hr = IXACT3Engine_Initialize(engine, ¶ms); - ok(hr == S_OK, "Cannot initialize engine, hr %#lx\n", hr); + ok(hr == S_OK || broken(hr == XAUDIO2_E_INVALID_CALL), "Cannot initialize engine, hr %#lx\n", hr); + if(FAILED(hr)) + { + win_skip("Unable to Initialize XACT. No speakers attached?\n"); + IXACT3Engine_Release(engine); + return; + } notification_desc.type = 0; notification_desc.flags = 0;