discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] Fwd: Fwd: What value is in in[noutput_items+1]?


From: GhostOp14
Subject: [Discuss-gnuradio] Fwd: Fwd: What value is in in[noutput_items+1]?
Date: Tue, 2 May 2017 07:35:28 -0400

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 <address@hidden>
Date: Mon, May 1, 2017 at 5:38 PM
Subject: Re: [Discuss-gnuradio] Fwd: What value is in in[noutput_items+1]?
To: GhostOp14 <address@hidden>
Cc: GNURadio Discussion List <address@hidden>


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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]