Maarten Lankhorst : dsound: Silence the IDirectSoundBuffer_Initialize warnings.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Jul 30 16:52:32 CDT 2007


Module: wine
Branch: master
Commit: 34893a914b2ef73f6f86404026c4188c3c4053e1
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=34893a914b2ef73f6f86404026c4188c3c4053e1

Author: Maarten Lankhorst <m.b.lankhorst at gmail.com>
Date:   Sun Jul 29 21:29:33 2007 +0200

dsound: Silence the IDirectSoundBuffer_Initialize warnings.

---

 dlls/dsound/buffer.c  |    4 +---
 dlls/dsound/primary.c |    4 +---
 2 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/dlls/dsound/buffer.c b/dlls/dsound/buffer.c
index d0a6fe6..d7da379 100644
--- a/dlls/dsound/buffer.c
+++ b/dlls/dsound/buffer.c
@@ -793,9 +793,7 @@ static HRESULT WINAPI IDirectSoundBufferImpl_Initialize(
 	LPDIRECTSOUNDBUFFER8 iface,LPDIRECTSOUND dsound,LPCDSBUFFERDESC dbsd
 ) {
 	IDirectSoundBufferImpl *This = (IDirectSoundBufferImpl *)iface;
-	FIXME("(%p,%p,%p):stub\n",This,dsound,dbsd);
-	DPRINTF("Re-Init!!!\n");
-	WARN("already initialized\n");
+	WARN("(%p) already initialized\n", This);
 	return DSERR_ALREADYINITIALIZED;
 }
 
diff --git a/dlls/dsound/primary.c b/dlls/dsound/primary.c
index 16509d6..271243d 100644
--- a/dlls/dsound/primary.c
+++ b/dlls/dsound/primary.c
@@ -952,9 +952,7 @@ static HRESULT WINAPI PrimaryBufferImpl_Initialize(
 	LPDIRECTSOUNDBUFFER iface,LPDIRECTSOUND dsound,LPCDSBUFFERDESC dbsd
 ) {
 	PrimaryBufferImpl *This = (PrimaryBufferImpl *)iface;
-	FIXME("(%p,%p,%p):stub\n",This,dsound,dbsd);
-	DPRINTF("Re-Init!!!\n");
-	WARN("already initialized\n");
+	WARN("(%p) already initialized\n", This);
 	return DSERR_ALREADYINITIALIZED;
 }
 




More information about the wine-cvs mailing list