comparison framework/Align.cpp @ 674:b375fdbb74bc

Remove some debug
author Chris Cannam
date Fri, 17 May 2019 13:49:25 +0100
parents ae7584dbd668
children 4d26b66931f8
comparison
equal deleted inserted replaced
673:d62fd61082a1 674:b375fdbb74bc
232 TuningDiffRec rec = m_pendingTuningDiffs[td]; 232 TuningDiffRec rec = m_pendingTuningDiffs[td];
233 233
234 int completion = 0; 234 int completion = 0;
235 bool done = td->isReady(&completion); 235 bool done = td->isReady(&completion);
236 236
237 SVCERR << "Align::tuningDifferenceCompletionChanged: done = " << done << ", completion = " << completion << endl; 237 // SVCERR << "Align::tuningDifferenceCompletionChanged: done = " << done << ", completion = " << completion << endl;
238 238
239 if (!done) { 239 if (!done) {
240 // This will be the completion the alignment model reports, 240 // This will be the completion the alignment model reports,
241 // before the alignment actually begins. It goes up from 0 to 241 // before the alignment actually begins. It goes up from 0 to
242 // 99 (not 100!) and then back to 0 again when we start 242 // 99 (not 100!) and then back to 0 again when we start
243 // calculating the actual path in the following phase 243 // calculating the actual path in the following phase
244 int clamped = (completion == 100 ? 99 : completion); 244 int clamped = (completion == 100 ? 99 : completion);
245 SVCERR << "Align::tuningDifferenceCompletionChanged: setting rec.preparatory completion to " << clamped << endl; 245 // SVCERR << "Align::tuningDifferenceCompletionChanged: setting rec.preparatory completion to " << clamped << endl;
246 rec.preparatory->setCompletion(clamped); 246 rec.preparatory->setCompletion(clamped);
247 return; 247 return;
248 } 248 }
249 249
250 float tuningFrequency = 440.f; 250 float tuningFrequency = 440.f;