1
0
mirror of https://github.com/wine-mirror/wine synced 2024-07-09 04:16:08 +00:00

xaudio2/tests: Remove failing legacy CLSID tests.

Modern Windows fails these tests, and no application is known to need
this behavior.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52998
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Andrew Eikum 2022-06-01 13:06:28 -05:00 committed by Alexandre Julliard
parent d67a9b5faa
commit c1e793f111

View File

@ -1067,10 +1067,6 @@ static void test_xapo_creation_modern(const char *module)
/* CLSIDs are the same across all versions */
static const GUID *const_clsids[] = {
&CLSID_FXEQ27,
&CLSID_FXMasteringLimiter27,
&CLSID_FXReverb27,
&CLSID_FXEcho27,
&CLSID_FXEQ,
&CLSID_FXMasteringLimiter,
&CLSID_FXReverb,
@ -1111,19 +1107,6 @@ static void test_xapo_creation_modern(const char *module)
IUnknown_Release(fx_unk);
}
/* test legacy CLSID */
hr = pCreateFX(&CLSID_AudioVolumeMeter27, &fx_unk, NULL, 0);
ok(hr == S_OK, "%s: CreateFX(CLSID_AudioVolumeMeter) failed: %08lx\n", module, hr);
if(SUCCEEDED(hr)){
IXAPO *xapo;
hr = IUnknown_QueryInterface(fx_unk, &IID_IXAPO, (void**)&xapo);
ok(hr == S_OK, "Couldn't get IXAPO interface: %08lx\n", hr);
if(SUCCEEDED(hr))
IXAPO_Release(xapo);
rc = IUnknown_Release(fx_unk);
ok(rc == 0, "XAPO via legacy CreateFX should have been released, got refcount: %lu\n", rc);
}
pCAVM = (void*)GetProcAddress(xaudio2dll, "CreateAudioVolumeMeter");
ok(pCAVM != NULL, "%s did not have CreateAudioVolumeMeter?\n", module);