1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-19 17:11:12 +02:00

Nyquist v4 - Fix bug in 'clips property.

This commit is contained in:
stevethefiddle@gmail.com
2014-12-02 12:41:40 +00:00
parent 4d76e14794
commit 8d8a0b9234

View File

@@ -799,7 +799,7 @@ bool EffectNyquist::ProcessOne()
}
// A list of clips for mono, or an array of lists for multi-channel.
cmd += wxString::Format(wxT("(putprop '*TRACK* %s%s ) 'CLIPS)\n"),
(mCurNumChannels == 1) ? wxT("(list ") : wxT("#( "),
(mCurNumChannels == 1) ? wxT("(list ") : wxT("(vector "),
clips.c_str());
cmd += wxString::Format(wxT("(putprop '*SELECTION* (float %g) 'PEAK-LEVEL)\n"), maxPeak);
}