Mercurial > hg > sonic-annotator
comparison runner/FeatureExtractionManager.cpp @ 22:4ab7c925f7ac sonic-annotator-0.3
* fixes to --force option
author | Chris Cannam |
---|---|
date | Tue, 07 Jul 2009 10:50:24 +0000 |
parents | 9a4e410bda7a |
children | af5e469ac654 |
comparison
equal
deleted
inserted
replaced
21:9a4e410bda7a | 22:4ab7c925f7ac |
---|---|
575 int pp = progress; | 575 int pp = progress; |
576 progress = int(((i - startFrame) * 100.0) / (endFrame - startFrame) + 0.1); | 576 progress = int(((i - startFrame) * 100.0) / (endFrame - startFrame) + 0.1); |
577 if (progress > pp) extractionProgress.setProgress(progress); | 577 if (progress > pp) extractionProgress.setProgress(progress); |
578 } | 578 } |
579 | 579 |
580 std::cerr << "FeatureExtractionManager: deleting audio file reader" << std::endl; | 580 // std::cerr << "FeatureExtractionManager: deleting audio file reader" << std::endl; |
581 | 581 |
582 delete reader; | 582 delete reader; |
583 | 583 |
584 for (PluginMap::iterator pi = m_plugins.begin(); | 584 for (PluginMap::iterator pi = m_plugins.begin(); |
585 pi != m_plugins.end(); ++pi) { | 585 pi != m_plugins.end(); ++pi) { |