21 float getThreshold()
const;
22 void setThreshold (
float);
23 float getRatio()
const;
24 void setRatio (
float);
27 static const char* getPluginName() {
return NEEDS_TRANS(
"Compressor/Limiter"); }
28 static const char* xmlTypeName;
31 juce::String getPluginType()
override {
return xmlTypeName; }
35 bool needsConstantBufferSize()
override {
return false; }
44 releaseValue, outputValue, sidechainValue;
47 releaseMs, outputDb, sidechainDb;
51 static float getMinThreshold() {
return 0.01f; }
52 static float getMaxThreshold() {
return 1.0f; }
55 double currentLevel = 0.0;
56 float lastSamp = 0.0f;
The context passed to plugin render methods to provide it with buffers to fill.