From a1449c97eefa1635680ede98f61ab3538c56eb21 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Sat, 1 Dec 2012 13:55:48 -0800 Subject: changed lookahead to preload, thats all it is --- include/gras/block.hpp | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'include') diff --git a/include/gras/block.hpp b/include/gras/block.hpp index 68bd051..71da047 100644 --- a/include/gras/block.hpp +++ b/include/gras/block.hpp @@ -58,15 +58,19 @@ struct GRAS_API InputPortConfig bool inline_buffer; /*! - * Set the number of input buffer look-ahead items. - * When num look-ahead items are not consumed, - * they will be available for the next work call. - * This is used to implement sample memory for + * Preload the input queue with num preload items. + * All items preloaded into the buffer will be 0. + * This is used to implement zero-padding for * things like sliding dot products/FIR filters. * + * - Increasing the preload at runtime will + * inject more items into the input queue. + * - Decreasing the preload at runtime will + * consume random items from the input queue. + * * Default = 0. */ - size_t lookahead_items; + size_t preload_items; }; //! Configuration parameters for an output port -- cgit