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
> 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
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"
> 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
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
> ...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
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
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
>
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
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
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
> 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
"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
> 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
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
> 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
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
> > 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
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
> 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
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
>
> 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
> 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
> 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
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
---
25 matches
Mail list logo