dsound: capture cleanup patch

Robert Reif reif at earthlink.net
Tue Nov 9 12:44:31 CST 2004


Remove redundant GUID check.
-------------- next part --------------
Index: dlls/dsound/capture.c
===================================================================
RCS file: /home/wine/wine/dlls/dsound/capture.c,v
retrieving revision 1.36
diff -u -r1.36 capture.c
--- dlls/dsound/capture.c	21 Oct 2004 20:57:26 -0000	1.36
+++ dlls/dsound/capture.c	9 Nov 2004 18:31:43 -0000
@@ -930,8 +930,7 @@
 
     *ppobj = NULL;
 
-    if ( IsEqualGUID( &IID_IDirectSoundNotify, riid ) ||
-         IsEqualGUID( &IID_IDirectSoundNotify8, riid ) ) {
+    if ( IsEqualGUID( &IID_IDirectSoundNotify, riid ) ) { 
 	if (!This->notify)
 	    hres = IDirectSoundCaptureNotifyImpl_Create(This, &This->notify);
 	if (This->notify) {


More information about the wine-patches mailing list