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 --- Mar 13/9/11, Benoît Minisini <gam...@users.sourceforge.net> ha scritto: > Da: Benoît Minisini <gam...@users.sourceforge.net> > Oggetto: Re: [Gambas-user] Release of Gambas 3 RC3. But I have a dream.... > A: "mailing list for gambas users" <gambas-user@lists.sourceforge.net> > Data: Martedì 13 settembre 2011, 11:31 > > Hello Benoît, > > > > I tried your suggestion (see below), by using a > external midi-keyboard, > > connected to PC, I tried about 50 (from num. 0) of fd > and more, but it > > seems it doesn't work. :-( > > > > Thanks > > Bye > > Paolo > > > > 1) You just have to test the fd you get from alsa. > > 2) You don't give much details. > > -- > Benoît Minisini > > ------------------------------------------------------------------------------ > BlackBerry® DevCon Americas, Oct. 18-20, San > Francisco, CA > Learn about the latest advances in developing for the > BlackBerry® mobile platform with sessions, labs > & more. > See new tools and technologies. Register for > BlackBerry® DevCon today! > http://p.sf.net/sfu/rim-devcon-copy1 > _______________________________________________ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------------ 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 Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user