dsound: Don't copy the position notify on duplicate.
This commit is contained in:
parent
3c9bd6ba2a
commit
2ab3d22663
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue