[Gambas-user] Release of Gambas 3 RC3. But I have a dream....
Ru Vuott
vuott at ...325...
Fri Sep 16 15:51:01 CEST 2011
Hello Benoît,
well, I cannot send you a source code, because, what I need and... wish, it doesen't exist in Gambas.
I 'ld like to specify that ALSA provides only the "file descriptors".
Stop !
The reopening of the same file should be checked and confirmed (you know it), because the opening could provide a "different" file descriptor from fd of ALSA; if instead it provides the same fd, then the program'ld enter into competition with ALSA.
Both GTK and QT, and probably all other toolkits provide the "important" possibility to put-in a "poll" on a arbitrary fd in the message loop.
Regards
Paolo
--- Ven 16/9/11, Benoît Minisini <gambas at ...1...> ha scritto:
> Da: Benoît Minisini <gambas at ...1...>
> Oggetto: Re: [Gambas-user] Release of Gambas 3 RC3. But I have a dream....
> A: "mailing list for gambas users" <gambas-user at lists.sourceforge.net>
> Data: Venerdì 16 settembre 2011, 00:05
> > 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
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
More information about the User
mailing list