diff options
author | Josh Blum | 2012-09-12 01:57:46 -0700 |
---|---|---|
committer | Josh Blum | 2012-09-12 01:57:46 -0700 |
commit | 79276543e665a53eb6f976c47f4c92e8faf844ba (patch) | |
tree | e1abdbeca3232567e231eb9897da72af65a111a5 /lib/element_impl.hpp | |
parent | 8695f6127a447dbe6f5cf6eeba9d5cd110e33420 (diff) | |
download | sandhi-79276543e665a53eb6f976c47f4c92e8faf844ba.tar.gz sandhi-79276543e665a53eb6f976c47f4c92e8faf844ba.tar.bz2 sandhi-79276543e665a53eb6f976c47f4c92e8faf844ba.zip |
communicate downstream buffer reqs to upstream output allocator
Diffstat (limited to 'lib/element_impl.hpp')
-rw-r--r-- | lib/element_impl.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/element_impl.hpp b/lib/element_impl.hpp index 8cbf2be..44125b1 100644 --- a/lib/element_impl.hpp +++ b/lib/element_impl.hpp @@ -19,6 +19,7 @@ #include <gras_impl/debug.hpp> #include <gras_impl/token.hpp> +#include <gras_impl/messages.hpp> #include <gras_impl/vector_of_queues.hpp> #include <gras_impl/input_buffer_queues.hpp> #include <gras_impl/interruptible_thread.hpp> @@ -65,6 +66,7 @@ struct ElementImpl IOSignature output_signature; std::vector<size_t> input_history_items; std::vector<size_t> output_multiple_items; + std::vector<size_t> input_multiple_items; //keeps track of production std::vector<uint64_t> items_consumed; @@ -148,6 +150,8 @@ struct ElementImpl Token token; size_t hint; //some kind of allocation hint + std::vector<std::vector<BufferHintMessage> > output_allocation_hints; + //rate settings bool enable_fixed_rate; double relative_rate; |