discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Discuss-gnuradio] Sinks that consume variable rates on each input


From: Tom Rondeau
Subject: RE: [Discuss-gnuradio] Sinks that consume variable rates on each input
Date: Wed, 20 Sep 2006 18:29:30 -0400

You'll want to inherit from either gr_sync_decimator or
gr_sync_interpolator, then handle the number of consumed items properly. The
filters are a good place to get some ideas for how to do this.

Tom


> -----Original Message-----
> From: address@hidden [mailto:discuss-
> address@hidden On Behalf Of Kyle Jamieson
> Sent: Wednesday, September 20, 2006 6:21 PM
> To: address@hidden
> Subject: [Discuss-gnuradio] Sinks that consume variable rates on each
> input
> 
> "How to write a signal processing block" suggests subclassing from
> gr_sync_block for the case of a sink.  However, gr_sync_block's work
> function arranges to call consume_each for the user, consuming the
> same number of elements on all inputs.  What if my sink doesn't
> consume at the same rate on each input?  Presumably what I'd want to
> do is inherit directly from gr_block and call consume directly?
> 
> Thanks,
> Kyle
> 
> 
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/discuss-gnuradio





reply via email to

[Prev in Thread] Current Thread [Next in Thread]