mirror of
https://github.com/cookiengineer/audacity
synced 2026-03-02 01:44:25 +01:00
commit it tidied up version of the patch to fix bug 497, with a consistent error message (none of the others include the Error. prefix) and some documentation of what the nyx function returns for future sanity.
This commit is contained in:
@@ -917,6 +917,13 @@ bool EffectNyquist::ProcessOne()
|
||||
return false;
|
||||
}
|
||||
|
||||
if (outChannels == -1) {
|
||||
wxMessageBox(_("Nyquist returned one audio channel as an array.\n"),
|
||||
wxT("Nyquist"),
|
||||
wxOK | wxCENTRE, mParent);
|
||||
return false;
|
||||
}
|
||||
|
||||
double rate = mCurTrack[0]->GetRate();
|
||||
for (i = 0; i < outChannels; i++) {
|
||||
sampleFormat format = mCurTrack[i]->GetSampleFormat();
|
||||
|
||||
Reference in New Issue
Block a user