[MMDEVAPI_WINETEST] Sync with Wine Staging 2.16. CORE-13762

This commit is contained in:
Amine Khaldi 2017-10-21 14:10:14 +01:00
parent 8856b0bde3
commit b8549aef08
2 changed files with 4 additions and 2 deletions

View file

@ -1,4 +1,6 @@
add_definitions(-DWINETEST_USE_DBGSTR_LONGLONG)
remove_definitions(-D_WIN32_WINNT=0x502)
add_definitions(-D_WIN32_WINNT=0x600)

View file

@ -335,8 +335,8 @@ static void test_audioclient(void)
(UINT)(t2/10000), (UINT)(t2 % 10000));
ok(t2 >= t1 || broken(t2 >= t1/2 && pwfx->nSamplesPerSec > 48000) ||
broken(t2 == 0) /* (!) win10 */,
"Latency < default period, delta %dus (%x%08x vs %x%08x)\n",
(LONG)((t2-t1)/10), (DWORD)(t2 >> 32), (DWORD)t2, (DWORD)(t1 >> 32), (DWORD)t1);
"Latency < default period, delta %dus (%s vs %s)\n",
(LONG)((t2-t1)/10), wine_dbgstr_longlong(t2), wine_dbgstr_longlong(t1));
/* Native appears to add the engine period to the HW latency in shared mode */
if(t2 == 0)
win10 = TRUE;