Commit 494a34bf authored by Jeremy White's avatar Jeremy White Committed by Alexandre Julliard

An interactive test should have volume, else a rational user will

decide it is broken.
parent d68294f0
......@@ -536,6 +536,10 @@ static void wave_out_test_deviceOut(int device, double duration,
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 @@ static void wave_out_test_deviceOut(int device, double duration,
"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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment