[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] get_tags_in_range
From: |
Tom Rondeau |
Subject: |
Re: [Discuss-gnuradio] get_tags_in_range |
Date: |
Mon, 10 Mar 2014 08:59:55 -0400 |
On Mon, Mar 10, 2014 at 5:55 AM, Martin Braun <address@hidden> wrote:
> On 03/10/2014 01:08 AM, Nowlan, Sean wrote:
>> I'm using get_tags_in_range with bounds outside the absolute sample
>> offsets presented in each work function. I'm using this to add
>> end-of-burst tags at offset K-1 for every start-of-burst tag that I
>> find at offset K (except the very first K).
>>
>> I just want to confirm that this is valid. All my tests have shown
>> that it is, since I believe the underlying deque is completely
>> independent of the data stream except that offsets are used for both
>> absolute sample offsets and tag bookkeeping.
>
> I think you're right, but only if you do this *after* the current
> bounds, not before.
>
> M
Yes, the scheduler prunes all tags before the window after work is
done. Basically, since we're tagging a data sample, if that sample is
no longer available to you, neither is it's tag. You'll have to get
them and store them locally for your uses later.
Tom