mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
dsound: Don't copy the notify object on duplicate.
This commit is contained in:
parent
223406fa17
commit
3c9bd6ba2a
2 changed files with 1 additions and 1 deletions
|
@ -1213,6 +1213,7 @@ HRESULT IDirectSoundBufferImpl_Duplicate(
|
|||
dsb->ref = 0;
|
||||
dsb->state = STATE_STOPPED;
|
||||
dsb->buf_mixpos = dsb->sec_mixpos = 0;
|
||||
dsb->notify = NULL;
|
||||
dsb->device = device;
|
||||
dsb->ds3db = NULL;
|
||||
dsb->iks = NULL; /* FIXME? */
|
||||
|
|
|
@ -1185,7 +1185,6 @@ static HRESULT test_duplicate(LPGUID lpGuid)
|
|||
event,WAIT_OBJECT_0+1);
|
||||
|
||||
ref=IDirectSoundNotify_Release(dup_notify);
|
||||
todo_wine
|
||||
ok(ref==0,"IDirectSoundNotify_Release() has %d references, "
|
||||
"should have 0\n",ref);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue