Module: wine Branch: master Commit: 682ad1c1df45d244acab59b54473cccdf0bed284 URL: https://gitlab.winehq.org/wine/wine/-/commit/682ad1c1df45d244acab59b54473ccc...
Author: Zebediah Figura zfigura@codeweavers.com Date: Thu Jun 8 12:58:53 2023 -0500
xaudio2/tests: Fix the IID_IXAPO query.
This was missed in 14c44d0b0a2fc0ead5bc75615864ff850a44c4d5.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55016
---
dlls/xaudio2_7/tests/xaudio2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/xaudio2_7/tests/xaudio2.c b/dlls/xaudio2_7/tests/xaudio2.c index 791b699ba05..f72350494a5 100644 --- a/dlls/xaudio2_7/tests/xaudio2.c +++ b/dlls/xaudio2_7/tests/xaudio2.c @@ -335,7 +335,7 @@ static void test_simple_streaming(IXAudio2 *xa) #endif ok(hr == S_OK, "Got hr %#lx.\n", hr);
- hr = IUnknown_QueryInterface(vumeter, &IID_IXAPO27, (void **)&xapo); + hr = IUnknown_QueryInterface(vumeter, xaudio27 ? &IID_IXAPO27 : &IID_IXAPO, (void **)&xapo); ok(hr == S_OK, "Got hr %#lx.\n", hr); IXAPO_Release(xapo);