[PATCH] Add Callback for wavemapper -> widOpen

James Hatheway james at macadamian.com
Thu Mar 22 14:29:14 CST 2001


> It doesn't seem right to use winmm internal structures here. Are you
> sure this is the right way to do it?


Hi Alexandre,

I implemented the callback in a very similar way as the Wave out callback
is implemented.  You can see this in the functions wodOpen(), wodOpenHelper(),
and WAVEMAP_DstCallback() , look at the data passed in the wom structure
(in dlls/winmm/wavemap/wavemap.c).  I don't see any other way that I will
be able to callback into the app when the WineOSS layer notifies the wavemap
layer.  The way it is now (wineoss directly calling the app)
causes my app to crash, and doesn't work that way on waveout.


-James


--
James Hatheway
Software Designer - Macadamian Technologies, Inc.
james at macadamian.com ~ http://www.macadamian.com

  "Man könnte froh sein, wenn die Luft so rein wäre wie das Bier"
  "One could be happy if the air were as pure as the beer"





More information about the wine-devel mailing list