mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-10 00:51:13 +02:00
Fix: Nyquist PEAK property when NIL & Stereo
Fixes failure of Nyquist Generate effects when stereo track selected and no time selection.
This commit is contained in:
parent
95560ad510
commit
da3f28118b
@ -1021,7 +1021,7 @@ bool NyquistEffect::ProcessOne()
|
||||
if (!std::isinf(maxPeak) && !std::isnan(maxPeak) && (maxPeak < FLT_MAX)) {
|
||||
peakString += wxString::Format(wxT("(float %s) "), Internat::ToString(maxPeak).c_str());
|
||||
} else {
|
||||
peakString += wxT("nil");
|
||||
peakString += wxT("nil ");
|
||||
}
|
||||
|
||||
float rms = mCurTrack[i]->GetRMS(mT0, mT1); // may throw
|
||||
|
Loading…
x
Reference in New Issue
Block a user