[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss-gnuradio] PROCESSING OF LARGE NUMBER OF SAMPLES
From: |
Simone Ciccia S210664 |
Subject: |
[Discuss-gnuradio] PROCESSING OF LARGE NUMBER OF SAMPLES |
Date: |
Wed, 21 Jan 2015 10:51:53 +0100 |
User-agent: |
RoundCube Webmail/0.2.1 |
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] PROCESSING OF LARGE NUMBER OF SAMPLES,
Simone Ciccia S210664 <=