From 9e53994abe357e2685783d6b5a6809517518792d Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Thu, 3 Mar 2005 13:49:30 +0000 Subject: [PATCH] Warn the user if he is running the test in interactive mode but the sound is turned off. --- dlls/winmm/tests/wave.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dlls/winmm/tests/wave.c b/dlls/winmm/tests/wave.c index 82149216b0b..7e2038c92ea 100644 --- a/dlls/winmm/tests/wave.c +++ b/dlls/winmm/tests/wave.c @@ -527,6 +527,8 @@ static void wave_out_test_deviceOut(int device, double duration, get_format_str(pwfx->wFormatTag), flags & WAVE_FORMAT_DIRECT ? "WAVE_FORMAT_DIRECT" : flags & WAVE_MAPPED ? "WAVE_MAPPED" : ""); + if (sine && !volume) + trace("*** Warning the sound is muted, you will not hear the test\n"); /* Check that the position is 0 at start */ check_position(device, wout, 0, pwfx);