From 043e683a796e1338a8874b0e7c195292ff32b7de Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 23 Jul 2007 06:03:39 +0000 Subject: Broke API to separate input/output from type (less code repetition and SLV2 is more useful with unknown extended port types this way). Switched enum symbol naming scheme to be more typical and future proof. Added LV2 OSC support. git-svn-id: http://svn.drobilla.net/lad/slv2@600 a436a847-0d15-0410-975c-d299462d15a1 --- src/plugin.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/plugin.c') diff --git a/src/plugin.c b/src/plugin.c index 80f59a5..ed80ff1 100644 --- a/src/plugin.c +++ b/src/plugin.c @@ -571,7 +571,7 @@ slv2_plugin_get_guis(SLV2Plugin plugin) for (int i=0; i < raptor_sequence_size(result); ++i) { SLV2Value val = (SLV2Value)raptor_sequence_get_at(result, i); val->type = SLV2_VALUE_GUI; - val->val.gui_type_val = SLV2_GTK2_GUI; + val->val.gui_type_val = SLV2_GUI_TYPE_GTK2; } return result; @@ -612,7 +612,7 @@ const char* slv2_gui_type_get_uri(SLV2GUIType type) { // Only one for now... - assert(type == SLV2_GTK2_GUI); + assert(type == SLV2_GUI_TYPE_GTK2); return "http://ll-plugins.nongnu.org/lv2/ext/gtk2gui"; } -- cgit v1.2.1