diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2020-07-19 18:57:34 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2020-07-19 18:57:34 +0200 |
commit | 271d4c04271f63d565ff0ff96415106b2c121327 (patch) | |
tree | 4f9bc32f1e6a89eaae9705d01d79072338e3bde7 /plugins/LV2/src/ADClip7/ADClip7.cpp | |
parent | 83254f1690123dc66991ce50c9db23c7cadba711 (diff) | |
download | airwindows-lv2-port-271d4c04271f63d565ff0ff96415106b2c121327.tar.gz airwindows-lv2-port-271d4c04271f63d565ff0ff96415106b2c121327.tar.bz2 airwindows-lv2-port-271d4c04271f63d565ff0ff96415106b2c121327.zip |
LV2: Refactor common code to base class.
Diffstat (limited to 'plugins/LV2/src/ADClip7/ADClip7.cpp')
-rw-r--r-- | plugins/LV2/src/ADClip7/ADClip7.cpp | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/plugins/LV2/src/ADClip7/ADClip7.cpp b/plugins/LV2/src/ADClip7/ADClip7.cpp index adf6eb9..11c8c27 100644 --- a/plugins/LV2/src/ADClip7/ADClip7.cpp +++ b/plugins/LV2/src/ADClip7/ADClip7.cpp @@ -19,7 +19,7 @@ enum class PortIndex : uint32_t { } // anon namespace ADClip7::ADClip7(double rate) - : rate(rate) + : LV2Plugin(rate) , refclipL(0.99) , refclipR(0.99) { @@ -76,16 +76,6 @@ void ADClip7::run(uint32_t num_samples) } // -// Helper functions to satisfy the processing code -// - -double ADClip7::getSampleRate() -{ - return rate; -} - - -// // Include the processing code from the VST version. // #include "../../../LinuxVST/src/ADClip7/ADClip7Proc.cpp" |