Mercurial > hg > sonic-annotator
comparison runner/FeatureExtractionManager.h @ 233:9a10c3ffff47
Update summary code and tests -- fix multiple outputs when requesting both summary and non-summary for the same output; and values have been changed because of the coded file cache bit depth change. Also skip network-dependent tests if there is no network.
author | Chris Cannam |
---|---|
date | Thu, 25 Feb 2016 18:19:27 +0000 |
parents | 1c0799754670 |
children | 68dc2d99a5b1 |
comparison
equal
deleted
inserted
replaced
232:e2519bd033e7 | 233:9a10c3ffff47 |
---|---|
112 // Map from plugin output identifier to plugin output index | 112 // Map from plugin output identifier to plugin output index |
113 typedef map<string, int> OutputIndexMap; | 113 typedef map<string, int> OutputIndexMap; |
114 OutputIndexMap m_pluginOutputIndices; | 114 OutputIndexMap m_pluginOutputIndices; |
115 | 115 |
116 typedef set<std::string> SummaryNameSet; | 116 typedef set<std::string> SummaryNameSet; |
117 SummaryNameSet m_summaries; | 117 SummaryNameSet m_summaries; // requested on command line for all transforms |
118 bool m_summariesOnly; | 118 bool m_summariesOnly; // command line flag |
119 Vamp::HostExt::PluginSummarisingAdapter::SegmentBoundaries m_boundaries; | 119 Vamp::HostExt::PluginSummarisingAdapter::SegmentBoundaries m_boundaries; |
120 | 120 |
121 AudioFileReader *prepareReader(QString audioSource); | 121 AudioFileReader *prepareReader(QString audioSource); |
122 | 122 |
123 void extractFeaturesFor(AudioFileReader *reader, QString audioSource); | 123 void extractFeaturesFor(AudioFileReader *reader, QString audioSource); |