Commit ebdee3cd authored by Davide Beatrici's avatar Davide Beatrici Committed by Alexandre Julliard

mmdevapi/tests: Distinguish GetChannelCount() calls in test_volume_dependence() fail messages.

parent 874260d1
...@@ -915,11 +915,11 @@ static void test_volume_dependence(void) ...@@ -915,11 +915,11 @@ static void test_volume_dependence(void)
ok(vol == 1.f, "ASV_GetChannelVolume gave wrong volume: %f\n", vol); ok(vol == 1.f, "ASV_GetChannelVolume gave wrong volume: %f\n", vol);
hr = IChannelAudioVolume_GetChannelCount(cav2, &nch); 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); ok(nch == fmt->nChannels, "Got wrong channel count, expected %u: %u\n", fmt->nChannels, nch);
hr = IAudioStreamVolume_GetChannelCount(asv2, &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); ok(nch == fmt->nChannels, "Got wrong channel count, expected %u: %u\n", fmt->nChannels, nch);
IAudioStreamVolume_Release(asv2); IAudioStreamVolume_Release(asv2);
......
...@@ -1996,11 +1996,11 @@ static void test_volume_dependence(void) ...@@ -1996,11 +1996,11 @@ static void test_volume_dependence(void)
ok(vol == 1.f, "ASV_GetChannelVolume gave wrong volume: %f\n", vol); ok(vol == 1.f, "ASV_GetChannelVolume gave wrong volume: %f\n", vol);
hr = IChannelAudioVolume_GetChannelCount(cav2, &nch); 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); ok(nch == fmt->nChannels, "Got wrong channel count, expected %u: %u\n", fmt->nChannels, nch);
hr = IAudioStreamVolume_GetChannelCount(asv2, &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); ok(nch == fmt->nChannels, "Got wrong channel count, expected %u: %u\n", fmt->nChannels, nch);
IAudioStreamVolume_Release(asv2); IAudioStreamVolume_Release(asv2);
......
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