comparison runner/FeatureExtractionManager.h @ 331:e39307a8d22d

Use sv samplerate/frame types, fixing compiler warnings
author Chris Cannam
date Tue, 12 Jun 2018 10:14:22 +0100
parents 0e866ef12d87
children 9f7297c47850
comparison
equal deleted inserted replaced
330:4819abbd24bb 331:e39307a8d22d
40 public: 40 public:
41 FeatureExtractionManager(bool verbose); 41 FeatureExtractionManager(bool verbose);
42 virtual ~FeatureExtractionManager(); 42 virtual ~FeatureExtractionManager();
43 43
44 void setChannels(int channels); 44 void setChannels(int channels);
45 void setDefaultSampleRate(int sampleRate); 45 void setDefaultSampleRate(sv_samplerate_t sampleRate);
46 void setNormalise(bool normalise); 46 void setNormalise(bool normalise);
47 47
48 bool setSummaryTypes(const set<string> &summaryTypes, 48 bool setSummaryTypes(const set<string> &summaryTypes,
49 const Vamp::HostExt::PluginSummarisingAdapter::SegmentBoundaries &boundaries); 49 const Vamp::HostExt::PluginSummarisingAdapter::SegmentBoundaries &boundaries);
50 50
134 134
135 void testOutputFiles(QString audioSource); 135 void testOutputFiles(QString audioSource);
136 void finish(); 136 void finish();
137 137
138 int m_blockSize; 138 int m_blockSize;
139 int m_defaultSampleRate; 139 sv_samplerate_t m_defaultSampleRate;
140 int m_sampleRate; 140 sv_samplerate_t m_sampleRate;
141 int m_channels; 141 int m_channels;
142 bool m_normalise; 142 bool m_normalise;
143 143
144 QMap<QString, AudioFileReader *> m_readyReaders; 144 QMap<QString, AudioFileReader *> m_readyReaders;
145 }; 145 };