Revert "prepare for volume handling refactor"
sorry......... this refactor is canceled as it seems harder than I thought...
This commit is contained in:
parent
54187d043d
commit
6df06a7f89
4 changed files with 879 additions and 25 deletions
|
|
@ -30,7 +30,7 @@
|
|||
template<typename T> struct SharedChannel {
|
||||
int freq, baseFreq, baseNoteOverride, pitch, pitch2, arpOff;
|
||||
int ins, note;
|
||||
bool active, insChanged, freqChanged, fixedArp, keyOn, keyOff, portaPause, inPorta, volChanged;
|
||||
bool active, insChanged, freqChanged, fixedArp, keyOn, keyOff, portaPause, inPorta;
|
||||
T vol, outVol;
|
||||
DivMacroInt std;
|
||||
void handleArp(int offset=0) {
|
||||
|
|
@ -79,7 +79,6 @@ template<typename T> struct SharedChannel {
|
|||
keyOff(false),
|
||||
portaPause(false),
|
||||
inPorta(false),
|
||||
volChanged(false),
|
||||
vol(initVol),
|
||||
outVol(initVol),
|
||||
std() {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue