Re: [Gambas-user] Release of Gambas 3 RC3. But I have a dream.... BIS

2011-09-24 Thread Ru Vuott
Hello Benoît, excuse me, I come back I send to you the source, so you can test the CPU problem. bye Paolo --- Sab 24/9/11, Ru Vuott ha scritto: > Da: Ru Vuott > Oggetto: Re: [Gambas-user] Release of Gambas 3 RC3. But I have a dream > A: "mailing list for gambas

Re: [Gambas-user] Release of Gambas 3 RC3. But I have a dream....

2011-09-24 Thread Ru Vuott
> Oggetto: Re: [Gambas-user] Release of Gambas 3 RC3. But I have a dream BIS > A: "mailing list for gambas users" > Data: Domenica 18 settembre 2011, 23:24 > > Hello, > > > > about your new suggestion: > > > > 1) like I said, now I can open the fd

Re: [Gambas-user] Release of Gambas 3 RC3. But I have a dream....

2011-09-19 Thread Ru Vuott
m you about your "trick" working, as soon as I update my gambas. Thanks Paolo --- Dom 18/9/11, Benoît Minisini ha scritto: > Da: Benoît Minisini > Oggetto: Re: [Gambas-user] Release of Gambas 3 RC3. But I have a dream BIS > A: "mailing list for gambas users"

Re: [Gambas-user] Release of Gambas 3 RC3. But I have a dream.... BIS

2011-09-18 Thread Benoît Minisini
> Hello, > > about your new suggestion: > > 1) like I said, now I can open the fd in: /proc/self/fd/ > > e.g.: hFile = Open "/proc/self/fd/20" For read watch > > some fd (like 3,4,5,6, 16 and 20) gives data, others not. > > So, I don't understand what's the use of the trick. > > 2) how have I

Re: [Gambas-user] Release of Gambas 3 RC3. But I have a dream.... BIS

2011-09-18 Thread Ru Vuott
Hello, about your new suggestion: 1) like I said, now I can open the fd in: /proc/self/fd/ e.g.: hFile = Open "/proc/self/fd/20" For read watch some fd (like 3,4,5,6, 16 and 20) gives data, others not. So, I don't understand what's the use of the trick. 2) how have I to use it ? maybe: hFil

Re: [Gambas-user] Release of Gambas 3 RC3. But I have a dream.... BIS

2011-09-18 Thread Benoît Minisini
> ...I want to add that ALSA gives file descriptors by its functions..., but > Gambas doesn't allows me to interact with message loop. I'ld need a > "component" or "other" that allows me put in Gambas message loop these > file descriptors. Gambas has to give the opportunity, possibility to > person

[Gambas-user] Release of Gambas 3 RC3. But I have a dream.... BIS

2011-09-18 Thread Ru Vuott
suppose. ;-) In my opinion this function is important ! ... isn't it ? bye Paolo --- Dom 18/9/11, Ron ha scritto: > Da: Ron > Oggetto: Re: [Gambas-user] Release of Gambas 3 RC3. But I have a dream > A: "mailing list for gambas users" > Data: Domenica 18 sette

Re: [Gambas-user] Release of Gambas 3 RC3. But I have a dream....

2011-09-18 Thread Ru Vuott
g/wiki/index.php/Alsa_e_Gambas:_Ricezione_con_un_programma_esterno_di_supporto ) Bye Paolo --- Dom 18/9/11, Ron ha scritto: > Da: Ron > Oggetto: Re: [Gambas-user] Release of Gambas 3 RC3. But I have a dream > A: "mailing list for gambas users" > Data: Domenica 18 settembre 2011, 15:41 >

Re: [Gambas-user] Release of Gambas 3 RC3. But I have a dream....

2011-09-18 Thread Ron
Dont you have some c code to look at from a similar alsa using prog? Or one of its utils? Op 18 sep. 2011 13:25 schreef "Ian Haywood" het volgende: > On Sun, Sep 18, 2011 at 8:56 PM, Ru Vuott wrote: >> Hello, >> >> thank you for your statement. > >> hfile = OPEN "/proc/self/fd/num" for Read Wat

Re: [Gambas-user] Release of Gambas 3 RC3. But I have a dream....

2011-09-18 Thread Ian Haywood
On Sun, Sep 18, 2011 at 8:56 PM, Ru Vuott wrote: > Hello, > > thank you for your statement. >   hfile = OPEN "/proc/self/fd/num" for Read Watch > > Where " num " is a number. Well, I tried the little program changing the > number "num": > first with zero, then with 1, then with 2, and so on... u

Re: [Gambas-user] Release of Gambas 3 RC3. But I have a dream....

2011-09-17 Thread Ian Haywood
On Sun, Sep 18, 2011 at 3:34 AM, Ru Vuott wrote: >> 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 >> competi

Re: [Gambas-user] Release of Gambas 3 RC3. But I have a dream....

2011-09-17 Thread Ru Vuott
> 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), becau

Re: [Gambas-user] Release of Gambas 3 RC3. But I have a dream....

2011-09-16 Thread Ru Vuott
"poll" on a arbitrary fd in the message loop. Regards Paolo --- Ven 16/9/11, Benoît Minisini ha scritto: > Da: Benoît Minisini > Oggetto: Re: [Gambas-user] Release of Gambas 3 RC3. But I have a dream > A: "mailing list for gambas users" > Data: Venerdì 16 se

Re: [Gambas-user] Release of Gambas 3 RC3. But I have a dream....

2011-09-15 Thread Benoît Minisini
> 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 sou

Re: [Gambas-user] Release of Gambas 3 RC3. But I have a dream....

2011-09-15 Thread Ru Vuott
ha scritto: > Da: Benoît Minisini > Oggetto: Re: [Gambas-user] Release of Gambas 3 RC3. But I have a dream > A: "mailing list for gambas users" > Data: Martedì 13 settembre 2011, 11:31 > > Hello Benoît, > > > > I tried your suggestion (see below), by usi

Re: [Gambas-user] Release of Gambas 3 RC3. But I have a dream....

2011-09-13 Thread Benoît Minisini
> 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

Re: [Gambas-user] Release of Gambas 3 RC3. But I have a dream....

2011-09-13 Thread Ru Vuott
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 > > Did you try to use "OPEN ... FOR READ / WRITE" on > "/proc/self/fd/xxx" where > xxx is

Re: [Gambas-user] Release of Gambas 3 RC3. But I have a dream....

2011-09-07 Thread Benoît Minisini
> > And where will these file descriptors come from? > > ...from ALSA. > > If I have a Gambas3-program, able to *receive* data Midi from ALSA > (external Midi-Keyboard-->ALSA-sistem--->My-Gambas-Program), I could use > "snd_seq_poll_descriptors_count()" and "snd_seq_poll_descriptors()" ALSA > fun

Re: [Gambas-user] Release of Gambas 3 RC3. But I have a dream....

2011-09-05 Thread Fabien Bodard
wait for benoit answer :) 2011/9/5 Ru Vuott : > >> Yes we have >> > > > Well, Fabien ! >  So, do you think you'll can make something about it? > > Thanks > > Paolo > > > > -- > Special Offer -- Download ArcSight Logger for

Re: [Gambas-user] Release of Gambas 3 RC3. But I have a dream....

2011-09-05 Thread Ru Vuott
> Yes we have > Well, Fabien ! So, do you think you'll can make something about it? Thanks Paolo -- Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even bet

Re: [Gambas-user] Release of Gambas 3 RC3. But I have a dream....

2011-09-05 Thread Fabien Bodard
Yes we have Le lundi 5 septembre 2011, Ru Vuott a écrit : > >> >> And where will these file descriptors come from? >> > > Hello Benoît, > > did you receive my answer ? > Bye > Paolo > > -- > Special Offer -- Download ArcS

Re: [Gambas-user] Release of Gambas 3 RC3. But I have a dream....

2011-09-05 Thread Ru Vuott
> > And where will these file descriptors come from? > Hello Benoît, did you receive my answer ? Bye Paolo -- Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an e

Re: [Gambas-user] Release of Gambas 3 RC3. But I have a dream....

2011-09-04 Thread Ru Vuott
> And where will these file descriptors come from? ...from ALSA. If I have a Gambas3-program, able to *receive* data Midi from ALSA (external Midi-Keyboard-->ALSA-sistem--->My-Gambas-Program), I could use "snd_seq_poll_descriptors_count()" and "snd_seq_poll_descriptors()" ALSA functions to get

Re: [Gambas-user] Release of Gambas 3 RC3. But I have a dream....

2011-09-04 Thread Benoît Minisini
> A dream for future RC4 or Component. > > > I have a dream. > Yes, people, I have a bright dream. > I dream a new RC of Gambas3, or a new Component, ...that adds the > possibility to insert file descriptors polls in the main message loop. > > I have a dream. > I have an hope... > > Regards > P

[Gambas-user] Release of Gambas 3 RC3. But I have a dream....

2011-09-04 Thread Ru Vuott
A dream for future RC4 or Component. I have a dream. Yes, people, I have a bright dream. I dream a new RC of Gambas3, or a new Component, ...that adds the possibility to insert file descriptors polls in the main message loop. I have a dream. I have an hope... Regards Paolo ---