diff options
author | David Robillard <d@drobilla.net> | 2011-09-23 20:14:21 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-09-23 20:14:21 +0000 |
commit | 755ca98a35d40a2123e2768df527a842468790a6 (patch) | |
tree | a5b7c38c93c587fe8175fb50d7a5d600776829d8 /lvz | |
parent | f5954d107d4a1aa8c10a90e2b7a43812a9b72c1f (diff) | |
download | mda.lv2-755ca98a35d40a2123e2768df527a842468790a6.tar.gz mda.lv2-755ca98a35d40a2123e2768df527a842468790a6.tar.bz2 mda.lv2-755ca98a35d40a2123e2768df527a842468790a6.zip |
Fix control changes
git-svn-id: http://svn.drobilla.net/lad/trunk/plugins/mdala.lv2@3478 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'lvz')
-rw-r--r-- | lvz/wrapper.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
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 { |