mciwave: Stop must not reset current position.

This commit is contained in:
Jörg Höhle 2009-10-22 09:26:28 +02:00 committed by Alexandre Julliard
parent c75d1cba15
commit c4b5bd44c0
2 changed files with 1 additions and 3 deletions

View File

@ -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;

View File

@ -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);