Maarten Lankhorst : dsound: Revert "dsound: Disable property sets if hardware doesn't support it.".
Module: wine Branch: master Commit: c45d4f77c66026333925000d5f4c680b0feaa721 URL: http://source.winehq.org/git/wine.git/?a=commit;h=c45d4f77c66026333925000d5f... Author: Maarten Lankhorst <m.b.lankhorst(a)gmail.com> Date: Fri Jul 6 12:38:19 2007 +0200 dsound: Revert "dsound: Disable property sets if hardware doesn't support it.". --- dlls/dsound/propset.c | 10 ---------- 1 files changed, 0 insertions(+), 10 deletions(-) diff --git a/dlls/dsound/propset.c b/dlls/dsound/propset.c index 4017f07..35fe325 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");
participants (1)
-
Alexandre Julliard