diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2020-07-22 16:47:13 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2020-07-22 16:47:13 +0200 |
commit | 8e1de3ce53f1e61d24578379bd38a42401fa37e8 (patch) | |
tree | 9655239b75c471f823194f51f5fef82ff511c01c /plugins/LV2/Template/Plugin.cpp | |
parent | b11ed1fabd9c6db06e7aa7d4ad046d934bd113a7 (diff) | |
download | airwindows-lv2-port-8e1de3ce53f1e61d24578379bd38a42401fa37e8.tar.gz airwindows-lv2-port-8e1de3ce53f1e61d24578379bd38a42401fa37e8.tar.bz2 airwindows-lv2-port-8e1de3ce53f1e61d24578379bd38a42401fa37e8.zip |
LV2: makeplugin script not handles number of control ports.
If specified, the correct number will be put in the class declaration,
and the correct number of params will be assigned to their respecive
param instance variables.
The ttl file is not updated with this info yet.
Diffstat (limited to 'plugins/LV2/Template/Plugin.cpp')
-rw-r--r-- | plugins/LV2/Template/Plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/LV2/Template/Plugin.cpp b/plugins/LV2/Template/Plugin.cpp index c70f6ab..49d4420 100644 --- a/plugins/LV2/Template/Plugin.cpp +++ b/plugins/LV2/Template/Plugin.cpp @@ -9,7 +9,7 @@ void @Plugin@::run(uint32_t num_samples) { - A = *params[0]; + @AssignParams@ processReplacing(const_cast<float **>(in), out, num_samples); } |