[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] set_history() for multi-input blocks
From: |
CEL |
Subject: |
Re: [Discuss-gnuradio] set_history() for multi-input blocks |
Date: |
Sun, 1 Jul 2018 08:58:47 +0000 |
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
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
smime.p7s
Description: S/MIME cryptographic signature