summaryrefslogtreecommitdiffstats
path: root/test/test.lv2/test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/test.lv2/test.c')
-rw-r--r--test/test.lv2/test.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/test/test.lv2/test.c b/test/test.lv2/test.c
index cd9a18c..27344e7 100644
--- a/test/test.lv2/test.c
+++ b/test/test.lv2/test.c
@@ -28,8 +28,9 @@
#define TEST_URI "http://example.org/lilv-test-plugin"
enum {
- TEST_INPUT = 0,
- TEST_OUTPUT = 1
+ TEST_INPUT = 0,
+ TEST_OUTPUT = 1,
+ TEST_CONTROL = 2
};
typedef struct {
@@ -73,6 +74,9 @@ connect_port(LV2_Handle instance,
case TEST_OUTPUT:
test->output = (float*)data;
break;
+ case TEST_CONTROL:
+ test->output = (float*)data;
+ break;
default:
break;
}