diff options
Diffstat (limited to 'src/libs/engine/PatchImpl.cpp')
-rw-r--r-- | src/libs/engine/PatchImpl.cpp | 2 |
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); } |