summaryrefslogtreecommitdiffstats
path: root/hosts/lv2_jack_host.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-07-06 17:10:04 +0000
committerDavid Robillard <d@drobilla.net>2008-07-06 17:10:04 +0000
commit9c2fb727cd1fbb2496c8e8d40bf360c4b71f6d6f (patch)
treee0d68eb813cc72e75512730b46772fc8f7bd866c /hosts/lv2_jack_host.c
parent014606af1298e2e0d2b57b52ffedfedc1bfbc02e (diff)
downloadlilv-9c2fb727cd1fbb2496c8e8d40bf360c4b71f6d6f.tar.gz
lilv-9c2fb727cd1fbb2496c8e8d40bf360c4b71f6d6f.tar.bz2
lilv-9c2fb727cd1fbb2496c8e8d40bf360c4b71f6d6f.zip
Rename slv2_plugin_get_port_range to slv2_plugin_get_port_ranges_float (avoid future binary compatibility issues if a type-generic one is needed later).
git-svn-id: http://svn.drobilla.net/lad/slv2@1279 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'hosts/lv2_jack_host.c')
-rw-r--r--hosts/lv2_jack_host.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hosts/lv2_jack_host.c b/hosts/lv2_jack_host.c
index 2368352..08ae29d 100644
--- a/hosts/lv2_jack_host.c
+++ b/hosts/lv2_jack_host.c
@@ -192,7 +192,7 @@ main(int argc, char** argv)
host.ports = calloc((size_t)host.num_ports, sizeof(struct Port));
float* default_values = calloc(slv2_plugin_get_num_ports(host.plugin),
sizeof(float));
- slv2_plugin_get_port_ranges(host.plugin, NULL, NULL, default_values);
+ slv2_plugin_get_port_ranges_float(host.plugin, NULL, NULL, default_values);
for (uint32_t i=0; i < host.num_ports; ++i)
create_port(&host, i, default_values[i]);