mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-02 17:43:38 +00:00
dsound: Revert "dsound: Disable property sets if hardware doesn't support it.".
This commit is contained in:
parent
5d7c63f1e0
commit
c45d4f77c6
|
@ -197,20 +197,10 @@ HRESULT IKsBufferPropertySetImpl_Create(
|
|||
IDirectSoundBufferImpl *dsb,
|
||||
IKsBufferPropertySetImpl **piks)
|
||||
{
|
||||
PIDSDRIVERPROPERTYSET ps = NULL;
|
||||
IKsBufferPropertySetImpl *iks;
|
||||
TRACE("(%p,%p)\n",dsb,piks);
|
||||
*piks = NULL;
|
||||
|
||||
if (!dsb->hwbuf)
|
||||
return DSERR_INVALIDPARAM;
|
||||
|
||||
IDsDriver_QueryInterface(dsb->hwbuf, &IID_IDsDriverPropertySet, (void **)&ps);
|
||||
if (!ps)
|
||||
return DSERR_INVALIDPARAM;
|
||||
|
||||
IUnknown_Release(ps);
|
||||
|
||||
iks = HeapAlloc(GetProcessHeap(),HEAP_ZERO_MEMORY,sizeof(*iks));
|
||||
if (iks == 0) {
|
||||
WARN("out of memory\n");
|
||||
|
|
Loading…
Reference in a new issue