Oct. 31, 2001
2:18 a.m.
> The idea is to have a (new) thread which does nothing > but sit in a select and then generate wine events > whenever the select returns. Various sound system > events cause /dev/dsp to be added to or removed from > the select list so that it generates a (new) > WINE_WM_DSP_READY event. my point is that you don't need an extra thread for that you just need to make a windows handle from the unix fd (the one of /dev/dsp) and do a WaitOnMultipleObjects with 2 handles : - the /dev/dsp handle - the synchronization mechanism with all the wodXXX functions. A+ --------------- Eric Pouech (http://perso.wanadoo.fr/eric.pouech/) The future will be better tomorrow, Vice President Dan Quayle ____________________________________________________________ Faites un voeu et puis Voila ! www.voila.fr Avec Voila Mail, consultez vos e-mails sur votre mobile Wap.
October 2001
2:52 a.m.
New subject: (no subject)
--- Eric Pouech <eric.pouech(a)voila.fr> wrote:
you just need to make a windows handle from the unix fd (the one of /dev/dsp) and do a WaitOnMultipleObjects with 2 handles : - the /dev/dsp handle - the synchronization mechanism with all the wodXXX functions.
Didn't know I could do that. I do now :) Thanks for that. After my last post, I rampaged on ahead and converted audio.c to use poll, so that bit is now nice and unixish. I'm about to post the patch to wine-patch. __________________________________________________ Do You Yahoo!? Make a great connection at Yahoo! Personals. http://personals.yahoo.com
8911
Age (days ago)
8911
Last active (days ago)
1 comments
2 participants
participants (2)
-
Eric Pouech -
Simon Britnell