diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2020-07-19 16:57:20 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2020-07-19 16:57:20 +0200 |
commit | 83254f1690123dc66991ce50c9db23c7cadba711 (patch) | |
tree | a8c53ba99c47672a61c67146932125320f4fc5a6 /plugins/LV2/src/ADClip7/ADClip7.cpp | |
parent | 225608fe4a2370a08e80db0b72f70a56fbcf5060 (diff) | |
download | airwindows-lv2-port-83254f1690123dc66991ce50c9db23c7cadba711.tar.gz airwindows-lv2-port-83254f1690123dc66991ce50c9db23c7cadba711.tar.bz2 airwindows-lv2-port-83254f1690123dc66991ce50c9db23c7cadba711.zip |
LV2: Refactor common LV2Wrapper.
Move the common wrapper code into a template class that can be
instantiated from each plugin.
Diffstat (limited to 'plugins/LV2/src/ADClip7/ADClip7.cpp')
-rw-r--r-- | plugins/LV2/src/ADClip7/ADClip7.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/LV2/src/ADClip7/ADClip7.cpp b/plugins/LV2/src/ADClip7/ADClip7.cpp index 0c0891a..adf6eb9 100644 --- a/plugins/LV2/src/ADClip7/ADClip7.cpp +++ b/plugins/LV2/src/ADClip7/ADClip7.cpp @@ -1,6 +1,7 @@ #include "ADClip7.h" #include <cmath> #include <iostream> +#include <lv2wrapper.h> namespace { @@ -88,3 +89,6 @@ double ADClip7::getSampleRate() // Include the processing code from the VST version. // #include "../../../LinuxVST/src/ADClip7/ADClip7Proc.cpp" + +// Create the LV2Wrapper and register the plugin +LV2Wrapper<ADClip7> plugin; |