wave mapper fix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



this patch lets the new wave in test correctly pass now
A+
--
Eric Pouech
Name:          wavemap_win
ChangeLog:     fixed error code when no mapping is found for wave input
License:       X11
GenDate:       2003/03/08 20:19:10 UTC
ModifiedFiles: dlls/winmm/wavemap/wavemap.c
===================================================================
RCS file: /home/cvs/cvsroot/wine/wine/dlls/winmm/wavemap/wavemap.c,v
retrieving revision 1.29
diff -u -u -r1.29 wavemap.c
--- dlls/winmm/wavemap/wavemap.c	15 Feb 2003 00:00:12 -0000	1.29
+++ dlls/winmm/wavemap/wavemap.c	8 Mar 2003 20:17:27 -0000
@@ -145,7 +145,7 @@
     UINT		i;
     WAVEMAPDATA*	wom = HeapAlloc(GetProcessHeap(), 0, sizeof(WAVEMAPDATA));
 
-    TRACE("(%p %p %08lx\n", lpdwUser, lpDesc, dwFlags);
+    TRACE("(%p %p %08lx)\n", lpdwUser, lpDesc, dwFlags);
 
     if (!wom)
 	return MMSYSERR_NOMEM;
@@ -679,7 +679,7 @@
     }
 
     HeapFree(GetProcessHeap(), 0, wim);
-    return MMSYSERR_ALLOCATED;
+    return WAVERR_BADFORMAT;
 found:
     if (dwFlags & WAVE_FORMAT_QUERY) {
 	*lpdwUser = 0L;

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux