From 2a37fbef6832aebfcb22feefa0bb05104eb6f018 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 9 Jun 2013 02:27:16 +0000 Subject: Inherit certain properties from ports connected to patch ports. This is a bit too hard-edged at present, but does the right thing when building a patch from scratch at least. Something needs to be done about removing the properties, but this is hard for outputs since the arcs aren't keyed that way. The main problem here is that Ardour barfs on plugins with MIDI input for audio tracks, so if you *ever* connect the control input to a MIDI anything, it will stick and not work in an Ardour audio track. Maybe it should be just implemented for inputs as a stop gap... git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5136 a436a847-0d15-0410-975c-d299462d15a1 --- src/server/DuplexPort.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/server/DuplexPort.hpp') diff --git a/src/server/DuplexPort.hpp b/src/server/DuplexPort.hpp index a7ad58bd..725c09c7 100644 --- a/src/server/DuplexPort.hpp +++ b/src/server/DuplexPort.hpp @@ -56,6 +56,10 @@ public: virtual ~DuplexPort(); + void inherit_neighbour(const PortImpl* port, + Resource::Properties& remove, + Resource::Properties& add); + uint32_t max_tail_poly(Context& context) const; bool get_buffers(BufferFactory& bufs, -- cgit v1.2.1