From 254b434f0a79fea54bd963e8ff2e845a5b0cd3a6 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 19 Mar 2012 20:16:46 +0000 Subject: Partially functioning communication between Ingen LV2 plugin and UI. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4078 a436a847-0d15-0410-975c-d299462d15a1 --- src/server/DuplexPort.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/server/DuplexPort.cpp') diff --git a/src/server/DuplexPort.cpp b/src/server/DuplexPort.cpp index f2c2763b..01fc43f3 100644 --- a/src/server/DuplexPort.cpp +++ b/src/server/DuplexPort.cpp @@ -22,9 +22,9 @@ #include "ingen/shared/LV2URIMap.hpp" #include "ingen/shared/URIs.hpp" +#include "Buffer.hpp" #include "ConnectionImpl.hpp" #include "DuplexPort.hpp" -#include "EventBuffer.hpp" #include "NodeImpl.hpp" #include "OutputPort.hpp" #include "ProcessContext.hpp" @@ -43,12 +43,13 @@ DuplexPort::DuplexPort( bool polyphonic, uint32_t poly, PortType type, + LV2_URID buffer_type, const Raul::Atom& value, size_t buffer_size, bool is_output) - : PortImpl(bufs, parent, name, index, poly, type, value, buffer_size) - , InputPort(bufs, parent, name, index, poly, type, value, buffer_size) - , OutputPort(bufs, parent, name, index, poly, type, value, buffer_size) + : PortImpl(bufs, parent, name, index, poly, type, buffer_type, value, buffer_size) + , InputPort(bufs, parent, name, index, poly, type, buffer_type, value, buffer_size) + , OutputPort(bufs, parent, name, index, poly, type, buffer_type, value, buffer_size) , _is_output(is_output) { assert(PortImpl::_parent == parent); -- cgit v1.2.1