> Hello Benoît, > > well, I need to put "arbitrary" file descriptors in the Message Loop, > ...like GTK and QT toolkit that already allow to do it. > > These file descriptors (get from ALSA functions) can be used to wait for > events from ALSA. > > > bye > Paolo >
With details I mean some source code. Theoritically, if alsa returns to you the file descriptor X, you should be able to watch it by reopening "/dev/self/fd/X". But it may not work if the file descriptor is already opened, I don't know. I have never used alsa, and I have no code to test... -- Benoît Minisini ------------------------------------------------------------------------------ Doing More with Less: The Next Generation Virtual Desktop What are the key obstacles that have prevented many mid-market businesses from deploying virtual desktops? How do next-generation virtual desktops provide companies an easier-to-deploy, easier-to-manage and more affordable virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/ _______________________________________________ Gambas-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gambas-user
