|
From: | Laura Arjona |
Subject: | Re: [Discuss-gnuradio] Maximum input items consumed on each input stream |
Date: | Thu, 29 Aug 2019 14:27:09 -0700 |
const gr_complex *in = (const gr_complex *) input_items[0];
* The private constructor
*/
decoder_impl::frame_decoder_impl(int sample_rate,std::vector<int> output_sizes)
: gr::block("decoder",
gr::io_signature::make(1, 1, sizeof(gr_complex)),
gr::io_signature::makev(2, 2, output_sizes)),
s_rate(sample_rate)
{
Hi Laura - In the "work" or "general_work" method, there are arguments that contain the information you're looking for. These arguments are set depending on what type of block you're creating (source, sink, sync, tagged_stream, whatever), are influenced by what the "forecast()" method returns, and are constrained by the I/O buffer sizes. Sorry to be a little vague, but the answer is that the value of the variable "consumed" in your description is context dependent. Hope this is useful! - MLDOn Wed, Aug 28, 2019 at 2:53 PM Laura Arjona <address@hidden> wrote:_______________________________________________Hello GNURadio community,Does anyone know what is the maximum number of input items that an Out Of Tree block can consume on each input stream?consume_each(consumed) --> what is the maximum value that the variable consumed can take?Thank you very much.--Laura ArjonaWashington Research Foundation Innovation Postdoctoral Fellow in NeuroengineeringPaul G. Allen School of Computer Science & Engineering185 E Stevens Way NEUniversity of WashingtonSeattle, WA 98195-2350
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
--Michael Dickens, Mac OS X Programmer
Ettus Research Technical Support
Email: address@hidden
Web: http://www.ettus.com
[Prev in Thread] | Current Thread | [Next in Thread] |