-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathSK100.h
48 lines (40 loc) · 789 Bytes
/
SK100.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#pragma once
#include "IPlug_include_in_plug_hdr.h"
#include "SK100Proc.h"
#include "ISender.h"
const int kNumPresets = 1;
enum EParams
{
kComp1InGain = 0,
kComp1OutGain,
kComp1Threshold,
kComp1Ratio,
kComp1Attack,
kComp1Release,
kComp2InGain,
kComp2OutGain,
kComp2Threshold,
kComp2Ratio,
kComp2Attack,
kComp2Release,
kVUView,
kNumParams
};
enum EControls {
kVUMeter = 0
};
using namespace iplug;
using namespace igraphics;
class SK100 final : public Plugin
{
public:
SK100(const InstanceInfo& info);
void OnParamChange(int idx) override;
#if IPLUG_DSP // http://bit.ly/2S64BDd
void ProcessBlock(sample** inputs, sample** outputs, int nFrames) override;
void OnIdle() override;
#endif
private:
Processor* processor;
ISender<1> mSender;
};