summaryrefslogtreecommitdiffstats
path: root/src
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 /src
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 'src')
-rw-r--r--src/port.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/port.c b/src/port.c
index fa28d93..3145ee2 100644
--- a/src/port.c
+++ b/src/port.c
@@ -97,7 +97,7 @@ slv2_port_get_data_type(SLV2Plugin p,
{
SLV2Values type = slv2_port_get_value(p, port, "rdf:type");
- SLV2PortDataType ret = SLV2_PORT_TYPE_UNKNOWN;
+ SLV2PortDataType ret = SLV2_PORT_DATA_TYPE_UNKNOWN;
if (!type)
return ret;
@@ -107,13 +107,13 @@ slv2_port_get_data_type(SLV2Plugin p,
if (slv2_value_is_uri(val)) {
const char* uri = slv2_value_as_uri(val);
if (!strcmp(uri, "http://lv2plug.in/ns/lv2core#ControlPort"))
- ret = SLV2_PORT_TYPE_CONTROL;
+ ret = SLV2_PORT_DATA_TYPE_CONTROL;
else if (!strcmp(uri, "http://lv2plug.in/ns/lv2core#AudioPort"))
- ret = SLV2_PORT_TYPE_AUDIO;
+ ret = SLV2_PORT_DATA_TYPE_AUDIO;
else if (!strcmp(uri, "http://ll-plugins.nongnu.org/lv2/ext/MidiPort"))
- ret = SLV2_PORT_TYPE_MIDI;
+ ret = SLV2_PORT_DATA_TYPE_MIDI;
else if (!strcmp(uri, "http://drobilla.net/ns/lv2ext/osc/0#OSCPort"))
- ret = SLV2_PORT_TYPE_OSC;
+ ret = SLV2_PORT_DATA_TYPE_OSC;
}
}
@@ -141,13 +141,13 @@ slv2_port_has_hint(SLV2Plugin p,
const char* uri = slv2_value_as_uri(val);
if (!strcmp(uri, "http://lv2plug.in/ns/lv2core#connectionOptional"))
return true;
- ret = SLV2_PORT_TYPE_CONTROL;
+ ret = SLV2_PORT_DATA_TYPE_CONTROL;
else if (!strcmp(uri, "http://lv2plug.in/ns/lv2core#AudioPort"))
- ret = SLV2_PORT_TYPE_AUDIO;
+ ret = SLV2_PORT_DATA_TYPE_AUDIO;
else if (!strcmp(uri, "http://ll-plugins.nongnu.org/lv2/ext/MidiPort"))
- ret = SLV2_PORT_TYPE_MIDI;
+ ret = SLV2_PORT_DATA_TYPE_MIDI;
else if (!strcmp(uri, "http://drobilla.net/ns/lv2ext/osc/0#OSCPort"))
- ret = SLV2_PORT_TYPE_OSC;
+ ret = SLV2_PORT_DATA_TYPE_OSC;
}
}