Thanks Sylvain and Nathan.  As soon as you mentioned set_history(N) is N-1
and how the data was laid out, everything made sense.  Made a quick fix in
my code and the anomaly's gone.

Thanks!

---------- Forwarded message ----------
From: Sylvain Munaut <[email protected]>
Date: Mon, May 1, 2017 at 5:38 PM
Subject: Re: [Discuss-gnuradio] Fwd: What value is in in[noutput_items+1]?
To: GhostOp14 <[email protected]>
Cc: GNURadio Discussion List <[email protected]>


First, set_history(2) means there will be 1 old sample, not two. (yeah
go figure ... but the default value is '1' and means "no history").

So, if noutput_items = 8192

in[0] = history[0]
in[1] = new_sample[0]
...
in[8192] = new_sample[8191]


Cheers,

   Sylvain
_______________________________________________
Discuss-gnuradio mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to