diff options
author | Josh Blum | 2012-12-01 13:55:48 -0800 |
---|---|---|
committer | Josh Blum | 2012-12-01 13:55:48 -0800 |
commit | a1449c97eefa1635680ede98f61ab3538c56eb21 (patch) | |
tree | 64879533cb17caad2e6cab085a5fba0ef6abfe06 /include | |
parent | 999d15b5dca5de7c32ddb87469d5c78136473de7 (diff) | |
download | sandhi-a1449c97eefa1635680ede98f61ab3538c56eb21.tar.gz sandhi-a1449c97eefa1635680ede98f61ab3538c56eb21.tar.bz2 sandhi-a1449c97eefa1635680ede98f61ab3538c56eb21.zip |
changed lookahead to preload, thats all it is
Diffstat (limited to 'include')
-rw-r--r-- | include/gras/block.hpp | 14 |
1 files changed, 9 insertions, 5 deletions
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 |