summaryrefslogtreecommitdiff
path: root/include/gras/block.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/gras/block.hpp')
-rw-r--r--include/gras/block.hpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/include/gras/block.hpp b/include/gras/block.hpp
index 3899561..524ff00 100644
--- a/include/gras/block.hpp
+++ b/include/gras/block.hpp
@@ -8,6 +8,7 @@
#include <gras/tag_iter.hpp>
#include <gras/tags.hpp>
#include <gras/work_buffer.hpp>
+#include <gras/buffer_queue.hpp>
#include <vector>
#include <string>
@@ -337,9 +338,9 @@ struct GRAS_API Block : Element
* \param which_output the output port index number
* \param token the token for the buffer's returner
* \param recommend_length the schedulers recommended length in bytes
- * \return the token used for the buffer allocation (may be the same)
+ * \return a shared ptr to a new buffer queue object
*/
- virtual SBufferToken output_buffer_allocator(
+ virtual BufferQueueSptr output_buffer_allocator(
const size_t which_output,
const SBufferToken &token,
const size_t recommend_length
@@ -356,9 +357,9 @@ struct GRAS_API Block : Element
* \param which_input the input port index number
* \param token the token for the buffer's returner
* \param recommend_length the schedulers recommended length in bytes
- * \return the token used for the buffer allocation (may be the same)
+ * \return a shared ptr to a new buffer queue object
*/
- virtual SBufferToken input_buffer_allocator(
+ virtual BufferQueueSptr input_buffer_allocator(
const size_t which_input,
const SBufferToken &token,
const size_t recommend_length