GUI: reset chanOscVol on stop

This commit is contained in:
tildearrow 2023-01-18 19:20:07 -05:00
parent fa6badc865
commit 5125e3ebb4

View file

@ -1026,6 +1026,9 @@ void FurnaceGUI::stop() {
curNibble=false; curNibble=false;
orderNibble=false; orderNibble=false;
activeNotes.clear(); activeNotes.clear();
memset(chanOscVol,0,DIV_MAX_CHANS*sizeof(float));
memset(chanOscPitch,0,DIV_MAX_CHANS*sizeof(float));
memset(chanOscBright,0,DIV_MAX_CHANS*sizeof(float));
} }
void FurnaceGUI::previewNote(int refChan, int note, bool autoNote) { void FurnaceGUI::previewNote(int refChan, int note, bool autoNote) {