mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-15 00:56:07 +00:00
mmdevapi/tests: Distinguish GetChannelCount() calls in test_volume_dependence() fail messages.
This commit is contained in:
parent
874260d12e
commit
ebdee3cd80
|
@ -915,11 +915,11 @@ static void test_volume_dependence(void)
|
|||
ok(vol == 1.f, "ASV_GetChannelVolume gave wrong volume: %f\n", vol);
|
||||
|
||||
hr = IChannelAudioVolume_GetChannelCount(cav2, &nch);
|
||||
ok(hr == S_OK, "GetChannelCount failed: %08lx\n", hr);
|
||||
ok(hr == S_OK, "CAV_GetChannelCount failed: %08lx\n", hr);
|
||||
ok(nch == fmt->nChannels, "Got wrong channel count, expected %u: %u\n", fmt->nChannels, nch);
|
||||
|
||||
hr = IAudioStreamVolume_GetChannelCount(asv2, &nch);
|
||||
ok(hr == S_OK, "GetChannelCount failed: %08lx\n", hr);
|
||||
ok(hr == S_OK, "ASV_GetChannelCount failed: %08lx\n", hr);
|
||||
ok(nch == fmt->nChannels, "Got wrong channel count, expected %u: %u\n", fmt->nChannels, nch);
|
||||
|
||||
IAudioStreamVolume_Release(asv2);
|
||||
|
|
|
@ -1996,11 +1996,11 @@ static void test_volume_dependence(void)
|
|||
ok(vol == 1.f, "ASV_GetChannelVolume gave wrong volume: %f\n", vol);
|
||||
|
||||
hr = IChannelAudioVolume_GetChannelCount(cav2, &nch);
|
||||
ok(hr == S_OK, "GetChannelCount failed: %08lx\n", hr);
|
||||
ok(hr == S_OK, "CAV_GetChannelCount failed: %08lx\n", hr);
|
||||
ok(nch == fmt->nChannels, "Got wrong channel count, expected %u: %u\n", fmt->nChannels, nch);
|
||||
|
||||
hr = IAudioStreamVolume_GetChannelCount(asv2, &nch);
|
||||
ok(hr == S_OK, "GetChannelCount failed: %08lx\n", hr);
|
||||
ok(hr == S_OK, "ASV_GetChannelCount failed: %08lx\n", hr);
|
||||
ok(nch == fmt->nChannels, "Got wrong channel count, expected %u: %u\n", fmt->nChannels, nch);
|
||||
|
||||
IAudioStreamVolume_Release(asv2);
|
||||
|
|
Loading…
Reference in a new issue