dsound: Revert "dsound: Disable property sets if hardware doesn't support it.".

This commit is contained in:
Maarten Lankhorst 2007-07-06 12:38:19 +02:00 committed by Alexandre Julliard
parent 5d7c63f1e0
commit c45d4f77c6

View file

@ -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");