summaryrefslogtreecommitdiffstats
path: root/src/libs/engine
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-08-19 00:13:04 +0000
committerDavid Robillard <d@drobilla.net>2008-08-19 00:13:04 +0000
commitcc8264c1368e6a3891022ddca7dcf2c79df5cf2d (patch)
treed496af790dba6fd70943ab952ab7006c8e857838 /src/libs/engine
parent3acc63156da8146d609e3c6b7d0326b224b46be6 (diff)
downloadingen-cc8264c1368e6a3891022ddca7dcf2c79df5cf2d.tar.gz
ingen-cc8264c1368e6a3891022ddca7dcf2c79df5cf2d.tar.bz2
ingen-cc8264c1368e6a3891022ddca7dcf2c79df5cf2d.zip
Write lv2:index for patch ports.
git-svn-id: http://svn.drobilla.net/lad/ingen@1438 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine')
-rw-r--r--src/libs/engine/PatchImpl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/engine/PatchImpl.cpp b/src/libs/engine/PatchImpl.cpp
index 97f9dde3..9f0ae701 100644
--- a/src/libs/engine/PatchImpl.cpp
+++ b/src/libs/engine/PatchImpl.cpp
@@ -348,7 +348,7 @@ PatchImpl::create_port(const string& name, DataType type, size_t buffer_size, bo
assert( !(type == DataType::UNKNOWN) );
- return new DuplexPort(this, name, 0, _polyphony, type, Atom(), buffer_size, is_output);
+ return new DuplexPort(this, name, num_ports(), _polyphony, type, Atom(), buffer_size, is_output);
}