Commit c4b5bd44 authored by Jörg Höhle's avatar Jörg Höhle Committed by Alexandre Julliard

mciwave: Stop must not reset current position.

parent c75d1cba
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment