Austin English : dsound: Return success in IDirectSoundBufferImpl_AcquireResources.
Alexandre Julliard
julliard at winehq.org
Tue May 10 13:33:40 CDT 2011
Module: wine
Branch: master
Commit: 6a3255bbbde0bdec3407ea89ef640b66dc45773c
URL: http://source.winehq.org/git/wine.git/?a=commit;h=6a3255bbbde0bdec3407ea89ef640b66dc45773c
Author: Austin English <austinenglish at gmail.com>
Date: Mon May 9 17:59:02 2011 -0500
dsound: Return success in IDirectSoundBufferImpl_AcquireResources.
---
dlls/dsound/buffer.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/dsound/buffer.c b/dlls/dsound/buffer.c
index 0e9096a..f797baf 100644
--- a/dlls/dsound/buffer.c
+++ b/dlls/dsound/buffer.c
@@ -791,13 +791,13 @@ static HRESULT WINAPI IDirectSoundBufferImpl_AcquireResources(
IDirectSoundBufferImpl *This = (IDirectSoundBufferImpl *)iface;
DWORD u;
- FIXME("(%p,%08u,%u,%p): stub\n",This,dwFlags,dwEffectsCount,pdwResultCodes);
+ FIXME("(%p,%08u,%u,%p): stub, faking success\n",This,dwFlags,dwEffectsCount,pdwResultCodes);
if (pdwResultCodes)
for (u=0; u<dwEffectsCount; u++) pdwResultCodes[u] = DSFXR_UNKNOWN;
WARN("control unavailable\n");
- return DSERR_CONTROLUNAVAIL;
+ return DS_OK;
}
static HRESULT WINAPI IDirectSoundBufferImpl_GetObjectInPath(
More information about the wine-cvs
mailing list