From ac408e8d4ce77389e65d69e9a1ff30fd54a25ada Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 8 Jan 2013 04:05:01 +0000 Subject: Add support for URID ports. Fix glib errors when resetting properties dialog. Move RDFS domain/range/classes/etc code to reusable location. Add preliminary "mesp" (message processing) plugin package. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4903 a436a847-0d15-0410-975c-d299462d15a1 --- src/server/events/SetPortValue.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/server/events') diff --git a/src/server/events/SetPortValue.cpp b/src/server/events/SetPortValue.cpp index 14919cee..b3481861 100644 --- a/src/server/events/SetPortValue.cpp +++ b/src/server/events/SetPortValue.cpp @@ -104,6 +104,8 @@ SetPortValue::apply(Context& context) } else { _status = NO_SPACE; } + } else if (buf->type() == uris.atom_URID) { + ((LV2_Atom_URID*)buf->atom())->body = _value.get_int32(); } else { _status = BAD_VALUE_TYPE; } -- cgit v1.2.1