Mercurial > hg > sonic-annotator
diff runner/FeatureExtractionManager.cpp @ 102:fae326c22df5
Fix failure to support summary-only flag when reading transforms with summaries from a transform file
author | Chris Cannam |
---|---|
date | Wed, 01 Oct 2014 14:55:17 +0100 |
parents | 010fbf2a3fba |
children | de76b2df518f 78a7c77ba432 |
line wrap: on
line diff
--- a/runner/FeatureExtractionManager.cpp Wed Oct 01 14:54:58 2014 +0100 +++ b/runner/FeatureExtractionManager.cpp Wed Oct 01 14:55:17 2014 +0100 @@ -99,9 +99,9 @@ return PluginSummarisingAdapter::UnknownSummaryType; } -bool FeatureExtractionManager::setSummaryTypes(const set<string> &names, - bool summariesOnly, - const PluginSummarisingAdapter::SegmentBoundaries &boundaries) +bool +FeatureExtractionManager::setSummaryTypes(const set<string> &names, + const PluginSummarisingAdapter::SegmentBoundaries &boundaries) { for (SummaryNameSet::const_iterator i = names.begin(); i != names.end(); ++i) { @@ -111,11 +111,16 @@ } } m_summaries = names; - m_summariesOnly = summariesOnly; m_boundaries = boundaries; return true; } +void +FeatureExtractionManager::setSummariesOnly(bool summariesOnly) +{ + m_summariesOnly = summariesOnly; +} + static PluginInputDomainAdapter::WindowType convertWindowType(WindowType t) {