Refactor and cleanup CC dispatch logic

This commit is contained in:
hirsch 2016-06-25 17:49:34 -04:00
parent 394b374b7f
commit 1130fceea5
7 changed files with 173 additions and 116 deletions

View file

@ -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