An interactive test should have volume, else a rational user will
decide it is broken.
This commit is contained in:
parent
d68294f06f
commit
494a34bfda
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue