summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libs/engine/MidiControlNode.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/engine/MidiControlNode.cpp b/src/libs/engine/MidiControlNode.cpp
index 45f5f034..d9c426e3 100644
--- a/src/libs/engine/MidiControlNode.cpp
+++ b/src/libs/engine/MidiControlNode.cpp
@@ -40,7 +40,7 @@ MidiControlNode::MidiControlNode(const string& path,
, path, false, parent, srate, buffer_size)
, _learning(false)
{
- _ports = new Raul::Array<PortImpl*>(7);
+ _ports = new Raul::Array<PortImpl*>(6);
_midi_in_port = new InputPort(this, "input", 0, 1, DataType::EVENT, Atom(), _buffer_size);
_ports->at(0) = _midi_in_port;