1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-10 16:43:33 +02:00

Steve's patch for http://bugzilla.audacityteam.org/show_bug.cgi?id=490, " Global variable "s" has two conflicting values in Audacity"

This commit is contained in:
v.audacity
2013-12-19 23:51:54 +00:00
parent bc445fb4fc
commit 417b764915

View File

@@ -771,6 +771,11 @@ bool EffectNyquist::ProcessOne()
}
}
/* restore the Nyquist sixteenth note symbol for Generate plugins */
if (GetEffectFlags() & INSERT_EFFECT) {
cmd += wxT("(setf s 0.25)\n");
}
for (unsigned int j = 0; j < mControls.GetCount(); j++) {
if (mControls[j].type == NYQ_CTRL_REAL) {
// We use Internat::ToString() rather than "%f" here because we