mciwave: Stop must not reset current position.
This commit is contained in:
parent
c75d1cba15
commit
c4b5bd44c0
|
@ -614,8 +614,6 @@ static DWORD WAVE_mciStop(MCIDEVICEID wDevID, DWORD dwFlags, LPMCI_GENERIC_PARMS
|
|||
break;
|
||||
}
|
||||
|
||||
wmw->dwPosition = 0;
|
||||
|
||||
/* sanity resets */
|
||||
wmw->dwStatus = MCI_MODE_STOP;
|
||||
|
||||
|
|
|
@ -446,7 +446,7 @@ static void test_asyncWAVE(HWND hwnd)
|
|||
trace("position once stopped: %sms\n",buf);
|
||||
p2 = atoi(buf);
|
||||
/* An XP machine let the position increase slightly after pause. */
|
||||
todo_wine ok(p2>=p1 && p2<=p1+16,"position changed from %ums to %ums\n",p1,p2);
|
||||
ok(p2>=p1 && p2<=p1+16,"position changed from %ums to %ums\n",p1,p2);
|
||||
|
||||
/* No Resume once stopped (waveaudio, sequencer and cdaudio differ). */
|
||||
err = mciSendString("resume mysound wait", NULL, 0, NULL);
|
||||
|
|
Loading…
Reference in New Issue