summaryrefslogtreecommitdiffstats
path: root/src/engine/InternalController.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/InternalController.cpp')
-rw-r--r--src/engine/InternalController.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/engine/InternalController.cpp b/src/engine/InternalController.cpp
index 25c4570c..8e378f50 100644
--- a/src/engine/InternalController.cpp
+++ b/src/engine/InternalController.cpp
@@ -48,13 +48,13 @@ ControllerNode::ControllerNode(const string& path,
_ports->at(0) = _midi_in_port;
_param_port = new InputPort(this, "controller", 1, 1, DataType::CONTROL, 0.0f, 1);
- _param_port->set_variable("lv2:minimum", 0.0f);
- _param_port->set_variable("lv2:maximum", 127.0f);
- _param_port->set_variable("lv2:integer", true);
+ _param_port->set_property("lv2:minimum", 0.0f);
+ _param_port->set_property("lv2:maximum", 127.0f);
+ _param_port->set_property("lv2:integer", true);
_ports->at(1) = _param_port;
_log_port = new InputPort(this, "logarithmic", 2, 1, DataType::CONTROL, 0.0f, 1);
- _log_port->set_variable("lv2:toggled", true);
+ _log_port->set_property("lv2:toggled", true);
_ports->at(2) = _log_port;
_min_port = new InputPort(this, "minimum", 3, 1, DataType::CONTROL, 0.0f, 1);