Refactor and cleanup CC dispatch logic
This commit is contained in:
parent
394b374b7f
commit
1130fceea5
7 changed files with 173 additions and 116 deletions
7
reverb.h
7
reverb.h
|
|
@ -8,13 +8,16 @@ class Mustang;
|
|||
class ReverbCC {
|
||||
|
||||
protected:
|
||||
|
||||
Mustang * amp;
|
||||
|
||||
public:
|
||||
int efx_common1(int parm, int bucket, int type, int value);
|
||||
|
||||
public:
|
||||
ReverbCC( Mustang * theAmp ) : amp(theAmp) {}
|
||||
|
||||
int dispatch( int cc, int value );
|
||||
|
||||
private:
|
||||
// Level
|
||||
int cc59( int value );
|
||||
// Decay
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue