Revert "prepare for volume handling refactor"

sorry......... this refactor is canceled as it seems harder than I thought...
This commit is contained in:
tildearrow 2023-11-04 04:13:30 -05:00
parent 54187d043d
commit 6df06a7f89
4 changed files with 879 additions and 25 deletions

View file

@ -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() {}