I have a general work function for which I will use GNU Radio’s history
functionality. In the block’s constructor, I call set_history( m ). I
the input buffer in the standard way:
const float *in = (const float *) input_items;
My question is wheere in refers to in the buffer. It would make sense
me that noutput_items is the number of new items for the block to
and ninput_items refers to the total number of data in the buffer.
in[noutput_items-1] is the last element of the array, in is the start
the new items, and the in[-m] refers to the beginning of the history
Thus, ninput_items is greater than or equal to m + noutput_items.
I don’t know if this assumption is true and would be pleased if someone
how this works. The GNU Radio API is somewhat vague in this respect.
View this message in context:
Sent from the GnuRadio mailing list archive at Nabble.com.