Author: akhaldi
Date: Thu Aug 18 10:17:56 2016
New Revision: 72289
URL:
http://svn.reactos.org/svn/reactos?rev=72289&view=rev
Log:
[MMDEVAPI_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
Modified:
trunk/rostests/winetests/mmdevapi/capture.c
trunk/rostests/winetests/mmdevapi/render.c
Modified: trunk/rostests/winetests/mmdevapi/capture.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/winetests/mmdevapi/captur…
==============================================================================
--- trunk/rostests/winetests/mmdevapi/capture.c [iso-8859-1] (original)
+++ trunk/rostests/winetests/mmdevapi/capture.c [iso-8859-1] Thu Aug 18 10:17:56 2016
@@ -244,10 +244,8 @@
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 @@
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 @@
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 @@
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);
Modified: trunk/rostests/winetests/mmdevapi/render.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/winetests/mmdevapi/render…
==============================================================================
--- trunk/rostests/winetests/mmdevapi/render.c [iso-8859-1] (original)
+++ trunk/rostests/winetests/mmdevapi/render.c [iso-8859-1] Thu Aug 18 10:17:56 2016
@@ -358,7 +358,7 @@
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 @@
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 @@
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 @@
}
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);