1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-25 08:38:39 +02:00

Nested loop should use a different index variable...

... but there was not a bug here, because of the return.
This commit is contained in:
Paul Licameli 2016-09-20 06:32:45 -04:00
parent 94f327d99c
commit b17a14ccc2

View File

@ -1208,8 +1208,8 @@ bool NyquistEffect::ProcessOne()
wxMessageBox(_("Nyquist did not return audio.\n"),
wxT("Nyquist"),
wxOK | wxCENTRE, mUIParent);
for (i = 0; i < outChannels; i++) {
mOutputTrack[i].reset();
for (int j = 0; j < outChannels; j++) {
mOutputTrack[j].reset();
}
return true;
}