Goodmorning, I have general questions about processing a fixed number of samples.
In front of the necessity to process N samples (N=8192 items) in a sinchronous block, I developed a mechanism like this: _____________________________________________________________ if(noutput_items>N) { processing of N elements consume(N); return(N); //in this way I process the required N elements } else {consume(0); return(0);} // here I'm waiting until the input buffer reach the required number of elements _____________________________________________________________ Probably is not the convenctional way to do this, but for now it works well. My questions are: - Is there a convenctional way to do this? - it seems that N cannot be larger than 8192, how can I enlarge the input buffer? _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio