diff options
Diffstat (limited to 'src/shared')
-rw-r--r-- | src/shared/LV2Object.cpp | 3 | ||||
-rw-r--r-- | src/shared/ResourceImpl.cpp | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/src/shared/LV2Object.cpp b/src/shared/LV2Object.cpp index 3442c004..54c81429 100644 --- a/src/shared/LV2Object.cpp +++ b/src/shared/LV2Object.cpp @@ -39,6 +39,9 @@ to_atom(World* world, LV2_Object* object, Raul::Atom& atom) if (object->type == map->object_class_string) { atom = Raul::Atom((char*)(object + 1)); return true; + } else if (object->type == map->object_class_bool) { + atom = Raul::Atom((bool)(int32_t*)(object + 1)); + return true; } else if (object->type == map->object_class_int32) { atom = Raul::Atom((int32_t*)(object + 1)); return true; diff --git a/src/shared/ResourceImpl.cpp b/src/shared/ResourceImpl.cpp index 6d028a13..0d773be4 100644 --- a/src/shared/ResourceImpl.cpp +++ b/src/shared/ResourceImpl.cpp @@ -112,8 +112,8 @@ ResourceImpl::type( } else if (!strcmp(atom.get_uri(), "lv2ev:EventPort")) { data_type = DataType::EVENTS; port = true; - } else if (!strcmp(atom.get_uri(), "obj:ObjectPort")) { - data_type = DataType::OBJECT; + } else if (!strcmp(atom.get_uri(), "obj:ValuePort")) { + data_type = DataType::VALUE; port = true; } } |