From b1198f0842e6e4d6b1c01f07d91b42ef4a212788 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 12 Feb 2017 15:04:20 +0100 Subject: Use smart pointers to handle real-time memory disposal --- src/server/DuplexPort.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/server/DuplexPort.cpp') diff --git a/src/server/DuplexPort.cpp b/src/server/DuplexPort.cpp index 41312e65..0fa11a72 100644 --- a/src/server/DuplexPort.cpp +++ b/src/server/DuplexPort.cpp @@ -132,7 +132,7 @@ DuplexPort::on_property(const Raul::URI& uri, const Atom& value) bool DuplexPort::get_buffers(BufferFactory& bufs, PortImpl::GetFn get, - Raul::Array* voices, + const MPtr& voices, uint32_t poly, size_t num_in_arcs) const { @@ -187,14 +187,14 @@ DuplexPort::prepare_poly(BufferFactory& bufs, uint32_t poly) } bool -DuplexPort::apply_poly(RunContext& context, Raul::Maid& maid, uint32_t poly) +DuplexPort::apply_poly(RunContext& context, uint32_t poly) { if (!parent()->parent() || poly != parent()->parent_graph()->internal_poly()) { return false; } - return PortImpl::apply_poly(context, maid, poly); + return PortImpl::apply_poly(context, poly); } void -- cgit v1.2.1