mirror of
https://github.com/reactos/reactos.git
synced 2025-01-03 21:09:19 +00:00
[MMDEVAPI_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72289
This commit is contained in:
parent
53a474e252
commit
e4a5020766
2 changed files with 8 additions and 10 deletions
|
@ -244,10 +244,8 @@ static void test_capture(IAudioClient *ac, HANDLE handle, WAVEFORMATEX *wfx)
|
|||
ok(hr == S_OK, "Valid IAudioCaptureClient_GetBuffer returns %08x\n", hr);
|
||||
ok(frames2 == frames, "GetBuffer after ReleaseBuffer(0) %u/%u\n", frames2, frames);
|
||||
ok(pos2 == pos, "Position after ReleaseBuffer(0) %u/%u\n", (UINT)pos2, (UINT)pos);
|
||||
if(qpc2 != qpc)
|
||||
todo_wine_if(qpc2 != qpc)
|
||||
/* FIXME: Some drivers fail */
|
||||
todo_wine ok(qpc2 == qpc, "HPC after ReleaseBuffer(0) %u vs. %u\n", (UINT)qpc2, (UINT)qpc);
|
||||
else
|
||||
ok(qpc2 == qpc, "HPC after ReleaseBuffer(0) %u vs. %u\n", (UINT)qpc2, (UINT)qpc);
|
||||
}
|
||||
|
||||
|
@ -414,7 +412,7 @@ static void test_capture(IAudioClient *ac, HANDLE handle, WAVEFORMATEX *wfx)
|
|||
sum += frames;
|
||||
}
|
||||
else if(hr == AUDCLNT_S_BUFFER_EMPTY){
|
||||
ok(!pad, "resetted GCP %u\n", pad);
|
||||
ok(!pad, "reset GCP %u\n", pad);
|
||||
Sleep(180);
|
||||
}
|
||||
|
||||
|
@ -590,7 +588,7 @@ static void test_audioclient(void)
|
|||
ok(hr == S_OK, "SetEventHandle returns %08x\n", hr);
|
||||
|
||||
hr = IAudioClient_Reset(ac);
|
||||
ok(hr == S_OK, "Reset on a resetted stream returns %08x\n", hr);
|
||||
ok(hr == S_OK, "Reset on an already reset stream returns %08x\n", hr);
|
||||
|
||||
hr = IAudioClient_Stop(ac);
|
||||
ok(hr == S_FALSE, "Stop on a stopped stream returns %08x\n", hr);
|
||||
|
@ -920,7 +918,7 @@ static void test_volume_dependence(void)
|
|||
ok(hr == S_OK, "GetService (SimpleAudioVolume) failed: %08x\n", hr);
|
||||
|
||||
hr = IAudioClient_GetService(ac, &IID_IChannelAudioVolume, (void**)&cav);
|
||||
ok(hr == S_OK, "GetService (ChannelAudioVolme) failed: %08x\n", hr);
|
||||
ok(hr == S_OK, "GetService (ChannelAudioVolume) failed: %08x\n", hr);
|
||||
|
||||
hr = IAudioClient_GetService(ac, &IID_IAudioStreamVolume, (void**)&asv);
|
||||
ok(hr == S_OK, "GetService (AudioStreamVolume) failed: %08x\n", hr);
|
||||
|
|
|
@ -358,7 +358,7 @@ static void test_audioclient(void)
|
|||
ok(hr == S_OK, "Reset on an initialized stream returns %08x\n", hr);
|
||||
|
||||
hr = IAudioClient_Reset(ac);
|
||||
ok(hr == S_OK, "Reset on a resetted stream returns %08x\n", hr);
|
||||
ok(hr == S_OK, "Reset on an already reset stream returns %08x\n", hr);
|
||||
|
||||
hr = IAudioClient_Stop(ac);
|
||||
ok(hr == S_FALSE, "Stop on a stopped stream returns %08x\n", hr);
|
||||
|
@ -1088,7 +1088,7 @@ static void test_clock(int share)
|
|||
slept = sum = 0;
|
||||
|
||||
hr = IAudioClient_Reset(ac);
|
||||
ok(hr == S_OK, "Reset on a resetted stream returns %08x\n", hr);
|
||||
ok(hr == S_OK, "Reset on an already reset stream returns %08x\n", hr);
|
||||
|
||||
hr = IAudioClock_GetPosition(acl, &pos, &pcpos);
|
||||
ok(hr == S_OK, "GetPosition failed: %08x\n", hr);
|
||||
|
@ -1162,7 +1162,7 @@ static void test_clock(int share)
|
|||
ok(QueryPerformanceCounter(&hpctime0), "PerfCounter unavailable\n");
|
||||
|
||||
hr = IAudioClient_Reset(ac);
|
||||
ok(hr == S_OK, "Reset on a resetted stream returns %08x\n", hr);
|
||||
ok(hr == S_OK, "Reset on an already reset stream returns %08x\n", hr);
|
||||
|
||||
hr = IAudioClient_Start(ac);
|
||||
ok(hr == S_OK, "Start failed: %08x\n", hr);
|
||||
|
@ -1852,7 +1852,7 @@ static void test_volume_dependence(void)
|
|||
}
|
||||
|
||||
hr = IAudioClient_GetService(ac, &IID_IChannelAudioVolume, (void**)&cav);
|
||||
ok(hr == S_OK, "GetService (ChannelAudioVolme) failed: %08x\n", hr);
|
||||
ok(hr == S_OK, "GetService (ChannelAudioVolume) failed: %08x\n", hr);
|
||||
|
||||
hr = IAudioClient_GetService(ac, &IID_IAudioStreamVolume, (void**)&asv);
|
||||
ok(hr == S_OK, "GetService (AudioStreamVolume) failed: %08x\n", hr);
|
||||
|
|
Loading…
Reference in a new issue