[PATCH] Add Callback for wavemapper -> widOpen

eric pouech eric.pouech at wanadoo.fr
Fri Apr 6 13:40:18 CDT 2001


James Hatheway wrote:
> 
> > 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?
> 
> Hi Alexandre,
> 
> Ok, I see what you are saying now.  Sorry about that.
> Humm.. I guess the short answer is because it doesn't work if I
> do it the same way wodOpen does. :-)  I'll look into this and send
> another patch when I have a bit of time (maybe today or on Monday),
> it appears that it is breaking in MMDRV_WaveIn_Callback, but I'm not
> 100% sure yet...
well, the waveOut case is broken when no ACM conversion is required
(only
mapping to an available device). it uses the wrong waveOut handle (which
seems
to crash your app).
I'll try to whip out something this week-end

A+
-- 
---------------
Eric Pouech (http://perso.wanadoo.fr/eric.pouech/)
"The future will be better tomorrow", Vice President Dan Quayle




More information about the wine-devel mailing list