discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] gr_block::set_history()


From: cjpatton
Subject: Re: [Discuss-gnuradio] gr_block::set_history()
Date: Fri, 21 Sep 2012 10:18:17 -0700 (PDT)

Tom and Kyle, 

Thanks for your replies. Suppose I want in[0] to refer to the beginning of
the new data. Then I could do this: 

   const float *in = (const float *) input_items[history()-1]; 

So in[noutput_items-1] is the last? Thanks!

Chris





--
View this message in context: 
http://gnuradio.4.n7.nabble.com/gr-block-set-history-tp37687p37705.html
Sent from the GnuRadio mailing list archive at Nabble.com.



reply via email to

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