discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] changing tag offset in a downstream block


From: Nick Foster
Subject: Re: [Discuss-gnuradio] changing tag offset in a downstream block
Date: Wed, 6 Jun 2012 16:51:50 -0700

Don't change the offset, catch the tag in a downstream block and issue a new tag with the modified sample number.

We've been debating ways to handle decimating/interpolating blocks in the tag scheme, I don't think we'd settled on any consistent way to handle non-sync blocks.

--n

On Wed, Jun 6, 2012 at 4:47 PM, Zing Yu <address@hidden> wrote:
All,

I have been playing with stream tags since a while and eventually come across a problem. I have a block A which generates a series of tags. The output of block A is then passed through an interpolation block B. So, a tag which was associated with sample X in block A becomes associated with sample X*I where I is the interpolation amount of block B. Now, what I want is to change the offset of that particular tag from X*I to X*I +/- Z where Z is any positive number such that X*I +/- Z is still a valid sample number in that particular work() call. Any comments on how should I do this will be appreciated.

Thanks,
Y.

_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio



reply via email to

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