mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-08 14:13:57 +01: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:
@@ -1021,7 +1021,7 @@ bool NyquistEffect::ProcessOne()
|
|||||||
if (!std::isinf(maxPeak) && !std::isnan(maxPeak) && (maxPeak < FLT_MAX)) {
|
if (!std::isinf(maxPeak) && !std::isnan(maxPeak) && (maxPeak < FLT_MAX)) {
|
||||||
peakString += wxString::Format(wxT("(float %s) "), Internat::ToString(maxPeak).c_str());
|
peakString += wxString::Format(wxT("(float %s) "), Internat::ToString(maxPeak).c_str());
|
||||||
} else {
|
} else {
|
||||||
peakString += wxT("nil");
|
peakString += wxT("nil ");
|
||||||
}
|
}
|
||||||
|
|
||||||
float rms = mCurTrack[i]->GetRMS(mT0, mT1); // may throw
|
float rms = mCurTrack[i]->GetRMS(mT0, mT1); // may throw
|
||||||
|
|||||||
Reference in New Issue
Block a user