From 57698964f1e88b2b74a0ce31ffaba3044d884dac Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 12 Oct 2008 00:23:16 +0000 Subject: 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 --- src/common/interface/DataType.hpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/common') 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 ""; } } -- cgit v1.2.1