summaryrefslogtreecommitdiffstats
path: root/src/common/interface
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-10-12 00:23:16 +0000
committerDavid Robillard <d@drobilla.net>2008-10-12 00:23:16 +0000
commit57698964f1e88b2b74a0ce31ffaba3044d884dac (patch)
treeaa9ca938f024000b60fa9d49be490b2446a5a789 /src/common/interface
parentfa9837f95a2d3be3f5eb94fcbf8222bb208d87db (diff)
downloadingen-57698964f1e88b2b74a0ce31ffaba3044d884dac.tar.gz
ingen-57698964f1e88b2b74a0ce31ffaba3044d884dac.tar.bz2
ingen-57698964f1e88b2b74a0ce31ffaba3044d884dac.zip
Eliminate redundant ingen ontology parts, and save ingen Patchage in an LV2 compatible format.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1651 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/common/interface')
-rw-r--r--src/common/interface/DataType.hpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/common/interface/DataType.hpp b/src/common/interface/DataType.hpp
index aa17a66b..1651e41d 100644
--- a/src/common/interface/DataType.hpp
+++ b/src/common/interface/DataType.hpp
@@ -48,7 +48,7 @@ public:
} else if (uri == type_uri(CONTROL)) {
_symbol = CONTROL;
} else if (uri == type_uri(EVENT)
- || (uri == "ingen:MIDIPort") || uri == "ingen:OSCPort" || uri == "ingen:EventPort") {
+ || (uri == "ingen:MIDIPort") || uri == "ingen:OSCPort" || uri == "lv2ev:EventPort") {
_symbol = EVENT;
}
}
@@ -72,11 +72,11 @@ private:
static inline const char* type_uri(unsigned symbol_num) {
switch (symbol_num) {
- case 1: return "ingen:AudioPort";
- case 2: return "ingen:ControlPort";
- case 3: return "ingen:EventPort";
- case 4: return "ingen:EventPort"; // MIDI
- case 5: return "ingen:EventPort"; // OSC
+ case 1: return "lv2:AudioPort";
+ case 2: return "lv2:ControlPort";
+ case 3: return "lv2ev:EventPort";
+ case 4: return "lv2ev:EventPort"; // MIDI
+ case 5: return "lv2ev:EventPort"; // OSC
default: return "";
}
}