Warn the user if he is running the test in interactive mode but the

sound is turned off.
This commit is contained in:
Francois Gouget 2005-03-03 13:49:30 +00:00 committed by Alexandre Julliard
parent fbb3343547
commit 9e53994abe
1 changed files with 2 additions and 0 deletions

View File

@ -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);