blob: e568a30bf894b9707b21dfb759e6cba0ac140fee (
plain) (
tree)
|
|
#include "ADClip7.h"
#include <cmath>
#include <iostream>
#include <lv2wrapper.h>
ADClip7::ADClip7(double rate)
: LV2Plugin(rate)
, refclipL(0.99)
, refclipR(0.99)
{
}
void ADClip7::run(uint32_t num_samples)
{
A = *params[0];
B = *params[1];
C = *params[2];
D = *params[3];
processReplacing(const_cast<float **>(in), out, num_samples);
}
//
// Include the processing code from the VST version.
//
#include "../../../LinuxVST/src/ADClip7/ADClip7Proc.cpp"
// Create the LV2Wrapper and register the plugin
LV2Wrapper<ADClip7> plugin;
|