Commit 3d54a77a authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

quartz/dsoundrender: Don't check the subtype in DSoundRender_CheckMediaType().

parent 1af01ac9
......@@ -384,9 +384,6 @@ static HRESULT WINAPI DSoundRender_CheckMediaType(struct strmbase_renderer *ifac
if (!IsEqualIID(&pmt->majortype, &MEDIATYPE_Audio))
return S_FALSE;
if (!IsEqualIID(&pmt->subtype, &MEDIASUBTYPE_PCM))
return S_FALSE;
return S_OK;
}
......
......@@ -789,10 +789,9 @@ static void test_media_types(void)
expect_hr = does_dsound_support_format(&wfx);
hr = IPin_QueryAccept(pin, &req_mt);
todo_wine_if (expect_hr == S_OK)
ok(hr == expect_hr, "Expected hr %#x, got %#x, for %d channels, %d-bit %s, %d Hz.\n",
expect_hr, hr, channels, formats[i].depth,
formats[i].tag == WAVE_FORMAT_PCM ? "integer" : "float", sample_rates[j]);
ok(hr == expect_hr, "Expected hr %#x, got %#x, for %d channels, %d-bit %s, %d Hz.\n",
expect_hr, hr, channels, formats[i].depth,
formats[i].tag == WAVE_FORMAT_PCM ? "integer" : "float", sample_rates[j]);
}
}
}
......
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