aboutsummaryrefslogblamecommitdiffstats
path: root/plugins/LV2/src/AQuickVoiceClip/AQuickVoiceClip.cpp
blob: ac3029657fa0c2d6d1ef5b209c95dda572689895 (plain) (tree)























                                                                        
#include "AQuickVoiceClip.h"
#include <iostream>
#include <lv2wrapper.h>

AQuickVoiceClip::AQuickVoiceClip(double rate)
    : LV2Plugin(rate)
{
}

void AQuickVoiceClip::run(uint32_t num_samples)
{
    A = *params[0];

    processReplacing(const_cast<float **>(in), out, num_samples);
}

//
// Include the processing code from the VST version.
//
#include <cmath>
#include "../../../LinuxVST/src/AQuickVoiceClip/AQuickVoiceClipProc.cpp"

// Create the LV2Wrapper and register the plugin
LV2Wrapper<AQuickVoiceClip> plugin;