Sunday, July 1, 2018

Re: [Discuss-gnuradio] set_history() for multi-input blocks

The history is really just the same ring-alike buffer. Setting the
history really does nothing but tell the scheduler that although you
consumed N samples, it may only declare (N-history) as "done with", and
will present you the last (history) samples as beginning of your new
input item buffer on the next call to work.

So yes, just as you have independent input streams, these history items
are all independent.

Best regards,
Marcus

On Sun, 2018-07-01 at 12:37 +0430, Ali The GREAT! wrote:
> Hi all,
> the question is this:
> when there is a multi-input (sync) block, if we put set_history(N) in
> the constructor, does it mean there are separate histories for each
> input port?
> thanks
> _______________________________________________
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

No comments:

Post a Comment