summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libs/client/NodeModel.cpp2
-rw-r--r--src/libs/engine/LV2Node.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libs/client/NodeModel.cpp b/src/libs/client/NodeModel.cpp
index d47e0b8c..d1c6c271 100644
--- a/src/libs/client/NodeModel.cpp
+++ b/src/libs/client/NodeModel.cpp
@@ -172,7 +172,7 @@ NodeModel::port_value_range(SharedPtr<PortModel> port, float& min, float& max)
uint32_t num_lv2_ports = slv2_plugin_get_num_ports(_plugin->slv2_plugin());
_min_values = new float[num_lv2_ports];
_max_values = new float[num_lv2_ports];
- slv2_plugin_get_port_ranges(_plugin->slv2_plugin(),
+ slv2_plugin_get_port_ranges_float(_plugin->slv2_plugin(),
_min_values, _max_values, 0);
}
diff --git a/src/libs/engine/LV2Node.cpp b/src/libs/engine/LV2Node.cpp
index 9bb05f98..bd4c2737 100644
--- a/src/libs/engine/LV2Node.cpp
+++ b/src/libs/engine/LV2Node.cpp
@@ -151,7 +151,7 @@ LV2Node::instantiate()
PortImpl* port = NULL;
float* def_values = new float[num_ports];
- slv2_plugin_get_port_ranges(plug, 0, 0, def_values);
+ slv2_plugin_get_port_ranges_float(plug, 0, 0, def_values);
for (uint32_t j=0; j < num_ports; ++j) {
SLV2Port id = slv2_plugin_get_port_by_index(plug, j);