init + building
This commit is contained in:
commit
3e9b443b60
8 changed files with 127 additions and 0 deletions
33
plugins/SquidgeDistortion/SquidgeDistortion.cpp
Normal file
33
plugins/SquidgeDistortion/SquidgeDistortion.cpp
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
#include "DistrhoPlugin.hpp"
|
||||
#include "DistrhoPluginInfo.h"
|
||||
|
||||
START_NAMESPACE_DISTRHO
|
||||
|
||||
class SquidgeDistortion : public Plugin {
|
||||
public:
|
||||
SquidgeDistortion()
|
||||
: Plugin(kParameterCount, 0, 0), gain(1.0), tone(1.0), volume(1.0) {}
|
||||
|
||||
protected:
|
||||
const char *getLabel() const override { return "SquidgeDistortion"; }
|
||||
const char *getDescription() const override {
|
||||
return "Simple distortion plugin.";
|
||||
}
|
||||
const char *getMaker() const override { return "SquidgeSoft"; }
|
||||
const char *getLicense() const override { return "MIT"; }
|
||||
uint32_t getVersion() const override { return d_version(1, 0, 0); }
|
||||
int64_t getUniqueId() const override { return d_cconst('M', 'A', 'D', 'T'); }
|
||||
|
||||
void run(const float **inputs, float **outputs, uint32_t frames) override {}
|
||||
|
||||
private:
|
||||
float gain;
|
||||
float tone;
|
||||
float volume;
|
||||
|
||||
DISTRHO_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR(SquidgeDistortion);
|
||||
};
|
||||
|
||||
Plugin *createPlugin() { return new SquidgeDistortion(); }
|
||||
|
||||
END_NAMESPACE_DISTRHO
|
||||
Loading…
Add table
Add a link
Reference in a new issue