#include "SpatializeDither.h" #include #include SpatializeDither::SpatializeDither(double rate) : LV2Plugin(rate) { } void SpatializeDither::activate() { contingentErrL = 0.0; contingentErrR = 0.0; flip = false; //this is reset: values being initialized only once. Startup values, whatever they are. } void SpatializeDither::run(uint32_t num_samples) { processReplacing(const_cast(in), out, num_samples); } // // Include the processing code from the VST version. // #include #include "../../../LinuxVST/src/SpatializeDither/SpatializeDitherProc.cpp" // Create the LV2Wrapper and register the plugin LV2Wrapper plugin;