Hello...
I think that streamer need clock pin to expand ussage. For now is clocked just by speed of thread where is attached.
I propose to add clock pin and control pin like that:
streamer.N.clock for clocking streamer by signal
streamer.N.clock-mode to tell what clock pin does.
and meaning of clock-mode to be:
clock-mode=0 (default) means use thread speed as clock (as it is now to be compatible)
clock-mode=1 clock streamer by falling edge
clock-mode=2 clock streamer by rising edge
clock-mode=3 clock streamer by both edges
actualy I already did that change but don't know how/where to post it. So code is attached (the whole streamer.c with comments)
Archived Feature Requests: #125
Nobody care about that?!?
Looks like a good feature!
The updated streamer.c has some whitespace problems, and the new pins need to be documented in the streamer manpage (docs/man/man9/streamer.9). Other than those nits it looks good and could go into 2.7.
Hello..
I do that "bugfix" and "feature add" to suit my needing. But I think
that now the streamer component is far more ussable. I'm not C
programmer and don't know what you mean with whitespace problem, and
don't know how to update manpage. I check it as a text but had a lot of
some strange characters defining type of text. There are probably some
editor for that or what?
Slavko.
On 02. 12. 2014 06:27, Sebastian Kuzminsky wrote:
Related
Archived Feature Requests:
#125Hello..
I do that "bugfix" and "feature add" to suit my needing. But I think that now the streamer component is far more ussable. I'm not C programmer and don't know what you mean with whitespace problem, and don't know how to update manpage. I check it as a text but had a lot of some strange characters defining type of text. There are probably some editor for that or what?
Slavko.
A version of this patch by Eslavko was added to 2.7.0-pre7 by Dewey Garrett and Jeff Epler.