fix crash when chip output count changes

This commit is contained in:
tildearrow 2025-10-29 02:44:45 -05:00
parent 76dc7dfb01
commit 3e270a38b5

View file

@ -3351,6 +3351,7 @@ void DivEngine::nextBuf(float** in, float** out, int inChans, int outChans, unsi
DivDispatch* disp=disCont[i].dispatch;
if (disp==NULL) continue;
for (int j=0; j<disp->getOutputCount(); j++) {
if (disCont[i].bbOut[j]==NULL) continue;
chipPeak[i][j]*=1.0-decay;
float peak=chipPeak[i][j];
for (unsigned int k=0; k<size; k++) {