Initialize buffer reference count.

This commit is contained in:
Robert Reif 2003-11-17 20:03:42 +00:00 committed by Alexandre Julliard
parent 61cbe6672a
commit 58fe9f1fc0
1 changed files with 1 additions and 0 deletions

View File

@ -1107,6 +1107,7 @@ HRESULT WINAPI IDirectSoundBufferImpl_Create(
*pdsb = NULL;
return DSERR_OUTOFMEMORY;
}
dsb->buffer->ref = 1;
}
/* Allocate the hardware buffer */