GUI: reset chanOscVol on stop

This commit is contained in:
tildearrow 2023-01-18 19:20:07 -05:00
parent fa6badc865
commit 5125e3ebb4
1 changed files with 3 additions and 0 deletions

View File

@ -1026,6 +1026,9 @@ void FurnaceGUI::stop() {
curNibble=false;
orderNibble=false;
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) {