diff options
author | David Robillard <d@drobilla.net> | 2020-08-02 15:39:43 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-08-02 15:39:43 +0200 |
commit | b979d48b8570610db121cabc6352a47145922f27 (patch) | |
tree | 859803be21f10398bd9cf06d04426bacc5c2ac73 /src/server/InputPort.cpp | |
parent | bdbdf42f3fe990c713c5437724db39274c387eee (diff) | |
download | ingen-b979d48b8570610db121cabc6352a47145922f27.tar.gz ingen-b979d48b8570610db121cabc6352a47145922f27.tar.bz2 ingen-b979d48b8570610db121cabc6352a47145922f27.zip |
Remove Raul::managed_ptr alias
Diffstat (limited to 'src/server/InputPort.cpp')
-rw-r--r-- | src/server/InputPort.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/server/InputPort.cpp b/src/server/InputPort.cpp index ab951aca..b66bc61d 100644 --- a/src/server/InputPort.cpp +++ b/src/server/InputPort.cpp @@ -29,8 +29,8 @@ #include "ingen/Atom.hpp" #include "ingen/Node.hpp" #include "ingen/URIs.hpp" -#include "ingen/memory.hpp" #include "raul/Array.hpp" +#include "raul/Maid.hpp" #include <cassert> #include <cstdlib> @@ -69,11 +69,11 @@ InputPort::apply_poly(RunContext& ctx, const uint32_t poly) } bool -InputPort::get_buffers(BufferFactory& bufs, - PortImpl::GetFn get, - const MPtr<Voices>& voices, - uint32_t poly, - size_t num_in_arcs) const +InputPort::get_buffers(BufferFactory& bufs, + PortImpl::GetFn get, + const Raul::managed_ptr<Voices>& voices, + uint32_t poly, + size_t num_in_arcs) const { if (is_a(PortType::ATOM) && !_value.is_valid()) { poly = 1; @@ -101,9 +101,9 @@ InputPort::get_buffers(BufferFactory& bufs, } bool -InputPort::pre_get_buffers(BufferFactory& bufs, - MPtr<Voices>& voices, - uint32_t poly) const +InputPort::pre_get_buffers(BufferFactory& bufs, + Raul::managed_ptr<Voices>& voices, + uint32_t poly) const { return get_buffers(bufs, &BufferFactory::get_buffer, voices, poly, _num_arcs); } |