[PATCH] Revert "dsound: Disable property sets if hardware doesn't
support it."
Maarten Lankhorst
m.b.lankhorst at gmail.com
Fri Jul 6 11:14:09 CDT 2007
According to Robert Reif: newer versions of dsound all support that
interface, so revert earlier patch.
-------------- next part --------------
>From 60268d64eb3d2c996071846ed7a605c411e0cb2b Mon Sep 17 00:00:00 2001
From: Maarten Lankhorst <m.b.lankhorst at gmail.com>
Date: Fri, 6 Jul 2007 12:38:19 +0200
Subject: [PATCH] Revert "dsound: Disable property sets if hardware doesn't support it."
According to Robert Reif: newer versions of dsound all support that interface.
---
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");
--
1.4.4.2
More information about the wine-patches
mailing list