winmm/tests: Remove variable start which is not really used from wave_out_test_deviceOut.

This commit is contained in:
Gerald Pfeifer 2010-05-02 22:09:46 +02:00 committed by Alexandre Julliard
parent 9c3729795f
commit 6a6749937b

View File

@ -727,7 +727,6 @@ static void wave_out_test_deviceOut(int device, double duration,
} }
if (interactive && rc==MMSYSERR_NOERROR) { if (interactive && rc==MMSYSERR_NOERROR) {
DWORD start;
trace("Playing %g second %s at %5dx%2dx%d %2d header%s %d loop%s %d bytes %s %s\n",duration, trace("Playing %g second %s at %5dx%2dx%d %2d header%s %d loop%s %d bytes %s %s\n",duration,
sine ? "440Hz tone" : "silence",pwfx->nSamplesPerSec, sine ? "440Hz tone" : "silence",pwfx->nSamplesPerSec,
pwfx->wBitsPerSample,pwfx->nChannels, headers, headers > 1 ? "s": " ", pwfx->wBitsPerSample,pwfx->nChannels, headers, headers > 1 ? "s": " ",
@ -748,8 +747,6 @@ static void wave_out_test_deviceOut(int device, double duration,
ok(has_volume ? rc==MMSYSERR_NOERROR : rc==MMSYSERR_NOTSUPPORTED, ok(has_volume ? rc==MMSYSERR_NOERROR : rc==MMSYSERR_NOTSUPPORTED,
"waveOutSetVolume(%s): rc=%s\n",dev_name(device),wave_out_error(rc)); "waveOutSetVolume(%s): rc=%s\n",dev_name(device),wave_out_error(rc));
start=GetTickCount();
rc=waveOutWrite(wout, &frags[0], sizeof(frags[0])); rc=waveOutWrite(wout, &frags[0], sizeof(frags[0]));
ok(rc==MMSYSERR_NOERROR,"waveOutWrite(%s): rc=%s\n", ok(rc==MMSYSERR_NOERROR,"waveOutWrite(%s): rc=%s\n",
dev_name(device),wave_out_error(rc)); dev_name(device),wave_out_error(rc));