winmm/tests: Remove two unused variables (and dead code) from check_position.
This commit is contained in:
parent
173a813e6a
commit
eab579dfcb
|
@ -482,14 +482,9 @@ static void check_position(int device, HWAVEOUT wout, DWORD bytes,
|
|||
LPWAVEFORMATEX pwfx )
|
||||
{
|
||||
MMTIME mmtime;
|
||||
DWORD samples;
|
||||
double duration;
|
||||
MMRESULT rc;
|
||||
DWORD returned;
|
||||
|
||||
samples=bytes/(pwfx->wBitsPerSample/8*pwfx->nChannels);
|
||||
duration=((double)samples)/pwfx->nSamplesPerSec;
|
||||
|
||||
mmtime.wType = TIME_BYTES;
|
||||
rc=waveOutGetPosition(wout, &mmtime, sizeof(mmtime));
|
||||
ok(rc==MMSYSERR_NOERROR,
|
||||
|
|
Loading…
Reference in New Issue