comparison runner/FeatureExtractionManager.cpp @ 12:d20c728c9840

* Try to avoid leaving output files open after completion
author Chris Cannam
date Tue, 20 Jan 2009 18:10:13 +0000
parents 21a31c779384
children bd1deebe1129
comparison
equal deleted inserted replaced
11:21a31c779384 12:d20c728c9840
572 int pp = progress; 572 int pp = progress;
573 progress = int(((i - startFrame) * 100.0) / (endFrame - startFrame) + 0.1); 573 progress = int(((i - startFrame) * 100.0) / (endFrame - startFrame) + 0.1);
574 if (progress > pp) extractionProgress.setProgress(progress); 574 if (progress > pp) extractionProgress.setProgress(progress);
575 } 575 }
576 576
577 std::cerr << "FeatureExtractionManager: deleting audio file reader" << std::endl;
578
577 delete reader; 579 delete reader;
578 580
579 for (PluginMap::iterator pi = m_plugins.begin(); 581 for (PluginMap::iterator pi = m_plugins.begin();
580 pi != m_plugins.end(); ++pi) { 582 pi != m_plugins.end(); ++pi) {
581 583