From 404474a515a5241e73a58586e577cee3c2030460 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 7 Jul 2008 16:08:31 +0000 Subject: Update for SLV2 API. git-svn-id: http://svn.drobilla.net/lad/ingen@1288 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/client/NodeModel.cpp | 2 +- src/libs/engine/LV2Node.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libs') 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 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); -- cgit v1.2.1