Hi again!

I am trying to make a signal processing block that uses an array of
complex numbers at its input. I was just wondering whether
&input_items can support this.

I was told that the &input_items are simply "plain old data." So if I
cannot pass an array of complex numbers as an input argument, is there
a way to process my input so that I can still get a stream of complex
numbers as input?

Thanks!

-------------------------------------------------------------------------------------------------
If my message isn't clear, here's a snippet of code to clarify things.

// In the "main" function
complex<float> ARRAY[10];   // 10 items of complex type
work(noutput_items, ARRAY, output_items);    // would this be ILLEGAL?

// Inside the signal processing block
work(int noutput_items, gr_vector_const_void_star &input_items,
gr_vector_void_star &output_items)


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

Reply via email to