So my troubles with my C external have driven me to look at Flext, which looks nice and simple, and pretty well documented. Except for the timer/clock functions that I need to get data from input event stream.
Anyone have anything on docs on this, or even better, an working example?
.hc
zen \ \ \[D[D[D[D
On Mon, 14 Apr 2003, Thomas Grill wrote:
Hi Hans-Christoph,
Anyone have anything on docs on this, or even better, an working example?
what about the flext tutorial example timer1? I'm sure it doesn't exploit all features of flext timers but serve you well as a starting point....
I think it would be better to hook it up on the select system with sys_addpollfn ... but for testing it might be ok to use a timer.
Guenter
best greetings, Thomas
PD-dev mailing list PD-dev@iem.kug.ac.at http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-dev
On Mon, 14 Apr 2003, guenter geiger wrote:
On Mon, 14 Apr 2003, Thomas Grill wrote:
Hi Hans-Christoph,
Anyone have anything on docs on this, or even better, an working example?
what about the flext tutorial example timer1? I'm sure it doesn't exploit all features of flext timers but serve you well as a starting point....
I think it would be better to hook it up on the select system with sys_addpollfn ... but for testing it might be ok to use a timer.
sys_addpollfn is defined in m_imp.h, which I was under the impression was only for internal use. I thought that m_pd.h was everything that was supposed to be used by externals.
Do you know of any documentation for sys_addpollfn? My .h skills aren't quite up to snuff to understand it all without a human language description.
.hc
On Wed, 16 Apr 2003, Hans-Christoph Steiner wrote:
On Mon, 14 Apr 2003, guenter geiger wrote:
On Mon, 14 Apr 2003, Thomas Grill wrote:
Hi Hans-Christoph,
Anyone have anything on docs on this, or even better, an working example?
what about the flext tutorial example timer1? I'm sure it doesn't exploit all features of flext timers but serve you well as a starting point....
I think it would be better to hook it up on the select system with sys_addpollfn ... but for testing it might be ok to use a timer.
sys_addpollfn is defined in m_imp.h, which I was under the impression was only for internal use. I thought that m_pd.h was everything that was supposed to be used by externals.
Yes and no. To write something like a asynchronous receiver you have two possibilities, either polling (with timer) or hooking up into the sys_addpollfn (which will wake you up when there is data available). You get away with a timer too, its just not optimal in terms of "resource usage", but this concern might be only theoretical .... so, hm, maybe its better to use a timer anyhow ... :)
Greetings,
Guenter
Do you know of any documentation for sys_addpollfn? My .h skills aren't quite up to snuff to understand it all without a human language description.
.hc