summaryrefslogtreecommitdiffstats
path: root/src/server/DuplexPort.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2014-04-06 06:14:04 +0000
committerDavid Robillard <d@drobilla.net>2014-04-06 06:14:04 +0000
commit898aff4f18131c19e659e8e0c04ab020e9e66bea (patch)
treef8a206db354abe26c55e7f0ae746657a4212266e /src/server/DuplexPort.cpp
parent5ef495e58358dcf28d45e69574f189ac51376a39 (diff)
downloadingen-898aff4f18131c19e659e8e0c04ab020e9e66bea.tar.gz
ingen-898aff4f18131c19e659e8e0c04ab020e9e66bea.tar.bz2
ingen-898aff4f18131c19e659e8e0c04ab020e9e66bea.zip
Support port pretty names via new Jack metadata API.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5357 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/server/DuplexPort.cpp')
-rw-r--r--src/server/DuplexPort.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/server/DuplexPort.cpp b/src/server/DuplexPort.cpp
index 256d45b1..fe958e58 100644
--- a/src/server/DuplexPort.cpp
+++ b/src/server/DuplexPort.cpp
@@ -17,7 +17,9 @@
#include "ingen/URIs.hpp"
#include "Buffer.hpp"
+#include "Driver.hpp"
#include "DuplexPort.hpp"
+#include "Engine.hpp"
#include "GraphImpl.hpp"
#include "OutputPort.hpp"
@@ -95,6 +97,12 @@ DuplexPort::inherit_neighbour(const PortImpl* port,
}
}
+void
+DuplexPort::on_property(const Raul::URI& uri, const Atom& value)
+{
+ _bufs.engine().driver()->port_property(_path, uri, value);
+}
+
bool
DuplexPort::get_buffers(BufferFactory& bufs,
Raul::Array<Voice>* voices,