diff options
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/interface/DataType.hpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/common/interface/DataType.hpp b/src/common/interface/DataType.hpp index 15cdc591..dc2726df 100644 --- a/src/common/interface/DataType.hpp +++ b/src/common/interface/DataType.hpp @@ -43,7 +43,7 @@ public: //MIDI = 4, //OSC = 5, //STRING = 6, - OBJECT = 7 + VALUE = 7 }; DataType(const Raul::URI& uri) @@ -55,8 +55,8 @@ public: _symbol = CONTROL; } else if (uri.str() == type_uri(EVENTS)) { _symbol = EVENTS; - } else if (uri.str() == type_uri(OBJECT)) { - _symbol = OBJECT; + } else if (uri.str() == type_uri(VALUE)) { + _symbol = VALUE; } } @@ -75,7 +75,7 @@ public: inline bool is_audio() { return _symbol == AUDIO; } inline bool is_control() { return _symbol == CONTROL; } inline bool is_events() { return _symbol == EVENTS; } - inline bool is_object() { return _symbol == OBJECT; } + inline bool is_value() { return _symbol == VALUE; } private: @@ -87,7 +87,7 @@ private: case 4: return "lv2ev:EventPort"; // MIDI (no longer used) case 5: return "lv2ev:EventPort"; // OSC (no longer used) case 6: return "sp:StringPort"; // String Port (no longer used) - case 7: return "obj:ObjectPort"; + case 7: return "obj:ValuePort"; default: return ""; } } |