#include "PodcastDeluxe.h" #include #include PodcastDeluxe::PodcastDeluxe(double rate) : LV2Plugin(rate) { } void PodcastDeluxe::activate() { A = 0.5; for(int count = 0; count < 502; count++) { d1L[count] = 0.0; d2L[count] = 0.0; d3L[count] = 0.0; d4L[count] = 0.0; d5L[count] = 0.0; d1R[count] = 0.0; d2R[count] = 0.0; d3R[count] = 0.0; d4R[count] = 0.0; d5R[count] = 0.0; } c1L = 2.0; c2L = 2.0; c3L = 2.0; c4L = 2.0; c5L = 2.0; //startup comp gains tap1 = 1; tap2 = 1; tap3 = 1; tap4 = 1; tap5 = 1; maxdelay1 = 9001; maxdelay2 = 9001; maxdelay3 = 9001; maxdelay4 = 9001; maxdelay5 = 9001; c1R = 2.0; c2R = 2.0; c3R = 2.0; c4R = 2.0; c5R = 2.0; //startup comp gains fpd = 17; //this is reset: values being initialized only once. Startup values, whatever they are. } void PodcastDeluxe::run(uint32_t num_samples) { A = *params[0]; processReplacing(const_cast(in), out, num_samples); } // // Include the processing code from the VST version. // #include #include "../../../LinuxVST/src/PodcastDeluxe/PodcastDeluxeProc.cpp" // Create the LV2Wrapper and register the plugin LV2Wrapper plugin;