From fe241e4d23aad76b314eb85d99a6988c78065340 Mon Sep 17 00:00:00 2001 From: lllucius Date: Sat, 12 Jul 2014 14:29:54 +0000 Subject: [PATCH] Implement suggested fix for http://bugzilla.audacityteam.org/show_bug.cgi?id=734. Tested on Windows and Steve tested on Linux. --- src/effects/nyquist/Nyquist.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/effects/nyquist/Nyquist.cpp b/src/effects/nyquist/Nyquist.cpp index 1e57b37df..5465ffb2c 100644 --- a/src/effects/nyquist/Nyquist.cpp +++ b/src/effects/nyquist/Nyquist.cpp @@ -1129,7 +1129,14 @@ void EffectNyquist::OSCallback() nyx_continue(); } - wxYieldIfNeeded(); + // LLL: STF figured out that yielding while the effect is being applied + // produces an EXTREME slowdown. It appears that yielding it not + // really necessary, so commenting out for now. + // + // Possible issues that may result is the ProgressDialog may + // not get refreshed or may not respond to button clicks... + // just something to watch for. + //wxYieldIfNeeded(); } /**********************************************************/