quartz/dsoundrender: Don't check the subtype in DSoundRender_CheckMediaType().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
1af01ac917
commit
3d54a77af8
|
@ -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]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue