From 8bfc7210bb3e1043c1bebb5bc49aa2499cf84b02 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 8 Aug 2007 19:29:23 +0000 Subject: Update ingen for SLV2 changes. SLV2 0.2.0. git-svn-id: http://svn.drobilla.net/lad/slv2@688 a436a847-0d15-0410-975c-d299462d15a1 --- utils/lv2_inspect.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'utils') 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)); -- cgit v1.2.1