[MMDEVAPI_WINETEST] Sync with Wine Staging 2.16. CORE-13762
authorAmine Khaldi <amine.khaldi@reactos.org>
Sat, 21 Oct 2017 13:10:14 +0000 (14:10 +0100)
committerAmine Khaldi <amine.khaldi@reactos.org>
Sat, 21 Oct 2017 13:10:14 +0000 (14:10 +0100)
modules/rostests/winetests/mmdevapi/CMakeLists.txt
modules/rostests/winetests/mmdevapi/render.c

index 569915d..12652fd 100644 (file)
@@ -1,4 +1,6 @@
 
+add_definitions(-DWINETEST_USE_DBGSTR_LONGLONG)
+
 remove_definitions(-D_WIN32_WINNT=0x502)
 add_definitions(-D_WIN32_WINNT=0x600)
 
index c7fb7c1..040ec7f 100644 (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;