|
From: | Tim |
Subject: | Re: [Discuss-gnuradio] timestamp tags and set_min_output_buffer |
Date: | Wed, 09 Oct 2013 15:09:42 -0400 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0 |
On 10/09/2013 02:59 PM, Juha Vierinen
wrote:
Juha, An easier way to achieve this is, is calling set_output_multiple(nfft) in the block constructor - which assures noutput_items = n*nfft where n >= 1 then if its a sync block without the relative rate or forecast being change, it will also assume it also needs nfft items each work call set_min_noutput_nitems and set_min_output_buffer are bigger hammers that probably shouldn't be used in this case unless you have really big vectors - I think by default there should be no problems with an output multiple <= 8k are you consuming nfft each time in your current block? If it is providing you nfft+extra samples each time through work you would get strange offsets if you simply consumed noutput_items each time. -Tim |
[Prev in Thread] | Current Thread | [Next in Thread] |