From: Sven Baars sbaars@codeweavers.com
--- dlls/mmdevapi/tests/capture.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/dlls/mmdevapi/tests/capture.c b/dlls/mmdevapi/tests/capture.c index 8963ee97e05..88cb748a6be 100644 --- a/dlls/mmdevapi/tests/capture.c +++ b/dlls/mmdevapi/tests/capture.c @@ -305,7 +305,7 @@ static void test_capture(IAudioClient *ac, HANDLE handle, WAVEFORMATEX *wfx) /* GetBufferSize is not a multiple of the period size! */ hr = IAudioClient_GetBufferSize(ac, &buffer_size); ok(hr == S_OK, "GetBufferSize failed: %08lx\n", hr); - trace("GetBufferSize %u period size %llu\n", buffer_size, period); + trace("GetBufferSize %u period size %s\n", buffer_size, wine_dbgstr_longlong(period));
hr = IAudioClient_Start(ac); ok(hr == S_OK, "Start on a stopped stream returns %08lx\n", hr); @@ -320,8 +320,8 @@ static void test_capture(IAudioClient *ac, HANDLE handle, WAVEFORMATEX *wfx) * packets to arrive concurrently. */ hr = IAudioClient_GetCurrentPadding(ac, &padding); ok(hr == S_OK, "GetCurrentPadding returns %08lx\n", hr); - ok(padding <= 2 * period, "GetCurrentPadding %u is larger then twice the period %llu\n", - padding, period); + ok(padding <= 2 * period, "GetCurrentPadding %u is larger then twice the period %s\n", + padding, wine_dbgstr_longlong(period));
todo_wine ok(packets_data.discontinuity_at_0, "No discontinuity at first packet\n"); @@ -337,8 +337,8 @@ static void test_capture(IAudioClient *ac, HANDLE handle, WAVEFORMATEX *wfx)
hr = IAudioClient_GetCurrentPadding(ac, &padding); ok(hr == S_OK, "GetCurrentPadding returns %08lx\n", hr); - ok(padding <= 2 * period, "GetCurrentPadding %u is larger then twice the period %llu\n", - padding, period); + ok(padding <= 2 * period, "GetCurrentPadding %u is larger then twice the period %s\n", + padding, wine_dbgstr_longlong(period));
ok(!packets_data.discontinuity_at_0, "Discontinuity at first packet\n"); ok(!packets_data.discontinuity_at_later, "Discontinuity at later packet\n");