Folks,
While adding asynchronous recording, I needed the following hack to make
things work with the application I'm working on. If someone could give
me a quick explanation, that would be great.
Thanks in advance,
Francois
--
Francois Jacques, Software Designer
Macadamian Technologies Inc.
index: dlls/winmm/mmsystem.c
===================================================================
rcs file: /home/wine/wine/dlls/winmm/mmsystem.c,v
retrieving revision 1.16
diff -u -r1.16 mmsystem.c
--- dlls/winmm/mmsystem.c 2000/08/14 14:29:22 1.16
+++ dlls/winmm/mmsystem.c 2000/09/21 19:48:24
@@ -4461,8 +4461,10 @@
{ \
lpwine_mld wmld; \
trace("(%04x);\n", hwavein); \
- if ((wmld=mmdrv_get(hwavein,mmdrv_wavein,false)) == null) \
+ if ((wmld=mmdrv_get(hwavein,mmdrv_wavein,true)) == null) \
+ { \
return mmsyserr_invalhandle; \
+ } \
return mmdrv_message(wmld,widm_##xx,0l,0l,true); \
} \
uint16 winapi wavein##xx##16(hwavein16 hwavein16) \