From 5a1ccca68baf9e8efffe3e0297730a911617693d Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 17 Oct 2010 01:11:29 +0000 Subject: Support current versions of LV2 atom, atom-port, and context extensions. Working use case in this revision: lolep.parse => lolep.print (set parse input to some string, it will be parsed, send to print as an LV2 atom, then printed to the console by print). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2631 a436a847-0d15-0410-975c-d299462d15a1 --- src/shared/ResourceImpl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/shared/ResourceImpl.cpp') diff --git a/src/shared/ResourceImpl.cpp b/src/shared/ResourceImpl.cpp index 50395249..af706e15 100644 --- a/src/shared/ResourceImpl.cpp +++ b/src/shared/ResourceImpl.cpp @@ -149,10 +149,10 @@ ResourceImpl::type( } else if (atom == uris.lv2ev_EventPort) { data_type = PortType::EVENTS; port = true; - } else if (atom == uris.obj_ValuePort) { + } else if (atom == uris.aport_ValuePort) { data_type = PortType::VALUE; port = true; - } else if (atom == uris.obj_MessagePort) { + } else if (atom == uris.aport_MessagePort) { data_type = PortType::MESSAGE; port = true; } else { -- cgit v1.2.1