On Thu, Jun 10, 2010 at 06:35:18AM -0700, Zohair wrote:
> 
> But again, let's go back to the howto_square example. What is the
> significance of indexing the output pointer from 0 to noutput_items? This
> means we are generating and storing 4096 point at a time!
>     float *out = (float *) output_items[0];
>     for (int i = 0; i < noutput_items; i++){
>       out[i] = in[i] * in[i];
>   }
> 

Yes.  So what?  If we generated only a single output sample per call
to work, the entire system would run very much slower.  As it's coded,
it produces one output sample for each input sample, for any value of
noutput_items.

Eric, de K7GNU clear.

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

Reply via email to