An interactive test should have volume, else a rational user will
decide it is broken.
diff --git a/dlls/winmm/tests/wave.c b/dlls/winmm/tests/wave.c
index 4ea73a9..8214921 100644
--- a/dlls/winmm/tests/wave.c
+++ b/dlls/winmm/tests/wave.c
@@ -536,6 +536,10 @@
dev_name(device),wave_out_error(rc));
WaitForSingleObject(hevent,INFINITE);
+ rc=waveOutSetVolume(wout,volume);
+ ok(rc==MMSYSERR_NOERROR,"waveOutSetVolume(%s): rc=%s\n",
+ dev_name(device),wave_out_error(rc));
+
start=GetTickCount();
rc=waveOutWrite(wout, &frag, sizeof(frag));
ok(rc==MMSYSERR_NOERROR,"waveOutWrite(%s): rc=%s\n",
@@ -550,10 +554,6 @@
"The sound played for %ld ms instead of %g ms\n",
end-start,1000*duration);
- rc=waveOutSetVolume(wout,volume);
- ok(rc==MMSYSERR_NOERROR,"waveOutSetVolume(%s): rc=%s\n",
- dev_name(device),wave_out_error(rc));
-
check_position(device, wout, frag.dwBufferLength, pwfx);
}