[PATCH] Add Callback for wavemapper -> widOpen
Alexandre Julliard
julliard at winehq.com
Thu Mar 22 14:40:49 CST 2001
"James Hatheway" <james at macadamian.com> writes:
> 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.
But these other functions are not using the WINE_MLD internal winmm
structure, so why do you need it in widOpen()? Couldn't you instead do
exactly what wodOpen() does?
--
Alexandre Julliard
julliard at winehq.com
More information about the wine-devel
mailing list