fix crash when chip output count changes
This commit is contained in:
parent
76dc7dfb01
commit
3e270a38b5
1 changed files with 1 additions and 0 deletions
|
|
@ -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++) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue