summaryrefslogtreecommitdiffstats
path: root/src/server/OutputPort.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/OutputPort.cpp')
-rw-r--r--src/server/OutputPort.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/server/OutputPort.cpp b/src/server/OutputPort.cpp
index 16984e3b..f1f3dfd7 100644
--- a/src/server/OutputPort.cpp
+++ b/src/server/OutputPort.cpp
@@ -18,6 +18,7 @@
#include "Buffer.hpp"
#include "BufferFactory.hpp"
+#include "Engine.hpp"
#include "NodeImpl.hpp"
#include "OutputPort.hpp"
#include "ProcessContext.hpp"
@@ -44,16 +45,17 @@ OutputPort::OutputPort(BufferFactory& bufs,
_broadcast = true;
- setup_buffers(bufs, poly);
+ setup_buffers(bufs.engine().message_context(), bufs, poly);
}
bool
-OutputPort::get_buffers(BufferFactory& bufs,
+OutputPort::get_buffers(Context& context,
+ BufferFactory& bufs,
Raul::Array<BufferRef>* buffers,
uint32_t poly) const
{
for (uint32_t v = 0; v < poly; ++v)
- buffers->at(v) = bufs.get(buffer_type(), _buffer_size);
+ buffers->at(v) = bufs.get(context, buffer_type(), _buffer_size);
return true;
}