summaryrefslogtreecommitdiffstats
path: root/src/libs
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-07-07 16:08:31 +0000
committerDavid Robillard <d@drobilla.net>2008-07-07 16:08:31 +0000
commit404474a515a5241e73a58586e577cee3c2030460 (patch)
treeec533c84fcf1716bb8168de95300b82c5d353890 /src/libs
parentf9cec1b1ff4f250f158d09e9b6f1abeb8d8eb907 (diff)
downloadingen-404474a515a5241e73a58586e577cee3c2030460.tar.gz
ingen-404474a515a5241e73a58586e577cee3c2030460.tar.bz2
ingen-404474a515a5241e73a58586e577cee3c2030460.zip
Update for SLV2 API.
git-svn-id: http://svn.drobilla.net/lad/ingen@1288 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs')
-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);