diff options
author | David Robillard <d@drobilla.net> | 2006-06-11 21:56:23 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2006-06-11 21:56:23 +0000 |
commit | 153c17e5d09c0f6db740e035dd8dc11bc2eece15 (patch) | |
tree | 7a34915332e103ebb34eb58e67b9dcd27191aae2 /src/port.c | |
parent | f4ec5ca9e739d009af64757d4cd9b715d88f3068 (diff) | |
download | lilv-153c17e5d09c0f6db740e035dd8dc11bc2eece15.tar.gz lilv-153c17e5d09c0f6db740e035dd8dc11bc2eece15.tar.bz2 lilv-153c17e5d09c0f6db740e035dd8dc11bc2eece15.zip |
Fixed port type URIs
git-svn-id: http://svn.drobilla.net/lad/libslv2@25 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/port.c')
-rw-r--r-- | src/port.c | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -34,16 +34,18 @@ slv2_port_get_class(SLV2Plugin* p, assert(class->num_values == 1); assert(class->values); - if (!strcmp((char*)class->values[0], "http://lv2plug.in/ontology#InputControlRatePort")) + if (!strcmp((char*)class->values[0], "http://lv2plug.in/ontology#ControlRateInputPort")) return SLV2_CONTROL_RATE_INPUT; - else if (!strcmp((char*)class->values[0], "http://lv2plug.in/ontology#OutputControlRatePort")) + else if (!strcmp((char*)class->values[0], "http://lv2plug.in/ontology#ControlRateOutputPort")) return SLV2_CONTROL_RATE_OUTPUT; - else if (!strcmp((char*)class->values[0], "http://lv2plug.in/ontology#InputAudioRatePort")) + else if (!strcmp((char*)class->values[0], "http://lv2plug.in/ontology#AudioRateInputPort")) return SLV2_AUDIO_RATE_INPUT; - else if (!strcmp((char*)class->values[0], "http://lv2plug.in/ontology#OutputAudioRatePort")) + else if (!strcmp((char*)class->values[0], "http://lv2plug.in/ontology#AudioRateOutputPort")) return SLV2_AUDIO_RATE_OUTPUT; - else + else { + fprintf(stderr, "Unknown port class: %s\n", class->values[0]); return SLV2_UNKNOWN_PORT_CLASS; + } } |