Commit 2ab3d226 authored by Akihiro Sagawa's avatar Akihiro Sagawa Committed by Alexandre Julliard

dsound: Don't copy the position notify on duplicate.

parent 3c9bd6ba
......@@ -1214,6 +1214,8 @@ HRESULT IDirectSoundBufferImpl_Duplicate(
dsb->state = STATE_STOPPED;
dsb->buf_mixpos = dsb->sec_mixpos = 0;
dsb->notify = NULL;
dsb->notifies = NULL;
dsb->nrofnotifies = 0;
dsb->device = device;
dsb->ds3db = NULL;
dsb->iks = NULL; /* FIXME? */
......
......@@ -1063,12 +1063,7 @@ static HRESULT test_notify(LPDIRECTSOUNDBUFFER dsb,
return rc;
ret=WaitForMultipleObjects(count,event,FALSE,0);
if (expected != WAIT_OBJECT_0+1) {
todo_wine
ok(ret==expected,"expected %d. got %d\n",expected,ret);
}
else
ok(ret==expected,"expected %d. got %d\n",expected,ret);
ok(ret==expected,"expected %d. got %d\n",expected,ret);
return rc;
}
......
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