summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-08-08 19:29:23 +0000
committerDavid Robillard <d@drobilla.net>2007-08-08 19:29:23 +0000
commit8bfc7210bb3e1043c1bebb5bc49aa2499cf84b02 (patch)
tree7a4f57cb8257cd98e363a8d0c2a38cedd22afcb8 /utils
parenta8320bb94d1809ce2d4873d539fd8e936bc2fdbd (diff)
downloadlilv-8bfc7210bb3e1043c1bebb5bc49aa2499cf84b02.tar.gz
lilv-8bfc7210bb3e1043c1bebb5bc49aa2499cf84b02.tar.bz2
lilv-8bfc7210bb3e1043c1bebb5bc49aa2499cf84b02.zip
Update ingen for SLV2 changes.
SLV2 0.2.0. git-svn-id: http://svn.drobilla.net/lad/slv2@688 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'utils')
-rw-r--r--utils/lv2_inspect.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/utils/lv2_inspect.c b/utils/lv2_inspect.c
index abe0234..bf02938 100644
--- a/utils/lv2_inspect.c
+++ b/utils/lv2_inspect.c
@@ -48,16 +48,16 @@ print_port(SLV2Plugin p, uint32_t index)
printf("\n\t\tType: ");
switch (type) {
- case SLV2_PORT_TYPE_CONTROL:
+ case SLV2_PORT_DATA_TYPE_CONTROL:
printf("Control");
break;
- case SLV2_PORT_TYPE_AUDIO:
+ case SLV2_PORT_DATA_TYPE_AUDIO:
printf("Audio");
break;
- case SLV2_PORT_TYPE_MIDI:
+ case SLV2_PORT_DATA_TYPE_MIDI:
printf("MIDI");
break;
- case SLV2_PORT_TYPE_OSC:
+ case SLV2_PORT_DATA_TYPE_OSC:
printf("OSC");
break;
default:
@@ -72,7 +72,7 @@ print_port(SLV2Plugin p, uint32_t index)
printf("\t\tName: %s\n", str);
free(str);
- if (type == SLV2_PORT_TYPE_CONTROL) {
+ if (type == SLV2_PORT_DATA_TYPE_CONTROL) {
printf("\t\tMinimum: %f\n", slv2_port_get_minimum_value(p, port));
printf("\t\tMaximum: %f\n", slv2_port_get_maximum_value(p, port));
printf("\t\tDefault: %f\n", slv2_port_get_default_value(p, port));