Re: [Discuss-gnuradio] PROBLEM: Understanding gr_block's implementation

2008-01-06 Thread Jonas
Yes, each "item" is supposed to be a vector of 1 floats; and yes, each input stream contains 1 floats. I chose a vector type for flexibility but I could always go back to turning it into a "plain old data". In that case, could I pass a multidimensional array as an input argument to general

Re: [Discuss-gnuradio] PROBLEM: Understanding gr_block's implementation

2008-01-06 Thread Eric Blossom
On Mon, Jan 07, 2008 at 10:28:39AM +0800, Jonas Gacrama wrote: > These are some of the input parameters of gr_block::general_work() : > > input_items vector of pointers to the input items, one entry per input > stream > output_items vector of pointers to the output items, one entry per > outp

[Discuss-gnuradio] PROBLEM: Understanding gr_block's implementation

2008-01-06 Thread Jonas Gacrama
These are some of the input parameters of gr_block::general_work() : input_items vector of pointers to the input items, one entry per input stream output_itemsvector of pointers to the output items, one entry per output stream Am I correct in understanding that the input_items CAN point