prepare for volume handling refactor
This commit is contained in:
parent
ff9078d59f
commit
4bc5f49fe6
4 changed files with 25 additions and 879 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;
|
||||
bool active, insChanged, freqChanged, fixedArp, keyOn, keyOff, portaPause, inPorta, volChanged;
|
||||
T vol, outVol;
|
||||
DivMacroInt std;
|
||||
void handleArp(int offset=0) {
|
||||
|
|
@ -79,6 +79,7 @@ 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