Hi Tom,
Thanks your reply, I have another question, in function
"min_available_space" why buffer_size/2 is best ?
在 2015年06月16日 21:31, Tom Rondeau 写道:
On Tue, Jun 16, 2015 at 8:57 AM, Tiankun Hu <tiankun...@foxmail.com
<mailto:tiankun...@foxmail.com>> wrote:
Hi,
After go through the block_executor.cc, I found alignment feature
work only when output_multiple not set, why them can not work at
the same time?
--
Thanks
Tiankun
Because they are competing objectives. The alignment tries to keep
buffers aligned and therefore the number of items will be based on a
multiple of the alignment requirement. If you need an output multiple
that's different than that, which one should the scheduler choose?
Note that the buffers always begin on a page and so are inherently
aligned. If your output multiple is also a multiple of the alignment
for the data type, then you'll always be aligned.
Tom
--
Thanks
Tiankun
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio