Commit 892068f9 authored by Andrew Eikum's avatar Andrew Eikum Committed by Alexandre Julliard

dsound/tests: Fix test that fails on older Windows 2000.

parent 7f5f166a
...@@ -1409,6 +1409,11 @@ static HRESULT test_invalid_fmts(LPGUID lpGuid) ...@@ -1409,6 +1409,11 @@ static HRESULT test_invalid_fmts(LPGUID lpGuid)
ok(wfx.nBlockAlign == 4, "blockalign: %u\n", wfx.nBlockAlign); ok(wfx.nBlockAlign == 4, "blockalign: %u\n", wfx.nBlockAlign);
ok(wfx.nAvgBytesPerSec == 44100 * 4, "avgbytes: %u\n", wfx.nAvgBytesPerSec); ok(wfx.nAvgBytesPerSec == 44100 * 4, "avgbytes: %u\n", wfx.nAvgBytesPerSec);
if(!gotdx8){
win_skip("Not doing the WAVE_FORMAT_EXTENSIBLE tests\n");
goto done;
}
fmtex.Format.cbSize = sizeof(WAVEFORMATEXTENSIBLE) - sizeof(WAVEFORMATEX); fmtex.Format.cbSize = sizeof(WAVEFORMATEXTENSIBLE) - sizeof(WAVEFORMATEX);
fmtex.Format.wFormatTag = WAVE_FORMAT_EXTENSIBLE; fmtex.Format.wFormatTag = WAVE_FORMAT_EXTENSIBLE;
fmtex.Format.nChannels = 2; fmtex.Format.nChannels = 2;
...@@ -1475,6 +1480,7 @@ static HRESULT test_invalid_fmts(LPGUID lpGuid) ...@@ -1475,6 +1480,7 @@ static HRESULT test_invalid_fmts(LPGUID lpGuid)
IDirectSoundBuffer_Release(primary); IDirectSoundBuffer_Release(primary);
} }
done:
IDirectSound_Release(dso); IDirectSound_Release(dso);
return S_OK; return S_OK;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment