From 81e9fb3245bd461ebfee4cfa16d1792e48533f9e Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 12 Mar 2012 06:59:48 +0000 Subject: Centralise atom creation in forge object. Aside from being more greppable and making realtime violations more obvious, this is a step towards using LV2 atoms internally (which needs a factory since the type numbers are dynamic). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4054 a436a847-0d15-0410-975c-d299462d15a1 --- src/server/DuplexPort.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/server/DuplexPort.cpp') diff --git a/src/server/DuplexPort.cpp b/src/server/DuplexPort.cpp index c2a2b505..8b8cf541 100644 --- a/src/server/DuplexPort.cpp +++ b/src/server/DuplexPort.cpp @@ -51,7 +51,8 @@ DuplexPort::DuplexPort( , _is_output(is_output) { assert(PortImpl::_parent == parent); - set_property(bufs.uris().ingen_polyphonic, polyphonic); + set_property(bufs.uris().ingen_polyphonic, + bufs.forge().make(polyphonic)); } bool -- cgit v1.2.1