From c45d4f77c66026333925000d5f4c680b0feaa721 Mon Sep 17 00:00:00 2001 From: Maarten Lankhorst Date: Fri, 6 Jul 2007 12:38:19 +0200 Subject: [PATCH] dsound: Revert "dsound: Disable property sets if hardware doesn't support it.". --- dlls/dsound/propset.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/dlls/dsound/propset.c b/dlls/dsound/propset.c index 4017f07be6c..35fe3253d41 100644 --- a/dlls/dsound/propset.c +++ b/dlls/dsound/propset.c @@ -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");