diff options
Diffstat (limited to 'src/server/DuplexPort.cpp')
-rw-r--r-- | src/server/DuplexPort.cpp | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/server/DuplexPort.cpp b/src/server/DuplexPort.cpp index 1a62d562..7da3dd5e 100644 --- a/src/server/DuplexPort.cpp +++ b/src/server/DuplexPort.cpp @@ -55,14 +55,16 @@ DuplexPort::DuplexPort( } bool -DuplexPort::get_buffers(BufferFactory& bufs, +DuplexPort::get_buffers(Context& context, + BufferFactory& bufs, Raul::Array<BufferRef>* buffers, uint32_t poly) const { - if (_is_output) - return InputPort::get_buffers(bufs, buffers, poly); - else - return OutputPort::get_buffers(bufs, buffers, poly); + if (_is_output) { + return InputPort::get_buffers(context, bufs, buffers, poly); + } else { + return OutputPort::get_buffers(context, bufs, buffers, poly); + } } /** Prepare for the execution of parent patch */ |