From 755ca98a35d40a2123e2768df527a842468790a6 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 23 Sep 2011 20:14:21 +0000 Subject: Fix control changes git-svn-id: http://svn.drobilla.net/lad/trunk/plugins/mdala.lv2@3478 a436a847-0d15-0410-975c-d299462d15a1 --- lvz/wrapper.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'lvz/wrapper.cpp') diff --git a/lvz/wrapper.cpp b/lvz/wrapper.cpp index d1cd0cd..5848ccd 100644 --- a/lvz/wrapper.cpp +++ b/lvz/wrapper.cpp @@ -62,8 +62,6 @@ lvz_connect_port(LV2_Handle instance, uint32_t port, void* data) if (port < num_params) { plugin->control_buffers[port] = (float*)data; - if (data != NULL) - plugin->controls[port] = *(float*)data; } else if (port < num_params + num_inputs) { plugin->inputs[port - num_params] = (float*)data; } else { -- cgit v1.2.1