Mercurial > hg > sonic-annotator
comparison runner/JAMSFeatureWriter.h @ 169:859d8ec60e06 jams
Add setNofM logic which the JSON writer can use to write a list when sending multiple files' worth to a single target
author | Chris Cannam |
---|---|
date | Wed, 15 Oct 2014 16:05:15 +0100 |
parents | e5873fb4ffb3 |
children | 3b7ec45abd1c |
comparison
equal
deleted
inserted
replaced
168:3e30dbb68ca2 | 169:859d8ec60e06 |
---|---|
34 virtual ParameterList getSupportedParameters() const; | 34 virtual ParameterList getSupportedParameters() const; |
35 virtual void setParameters(map<string, string> ¶ms); | 35 virtual void setParameters(map<string, string> ¶ms); |
36 | 36 |
37 virtual void setTrackMetadata(QString trackid, TrackMetadata metadata); | 37 virtual void setTrackMetadata(QString trackid, TrackMetadata metadata); |
38 | 38 |
39 virtual void setNofM(int, int); | |
40 | |
39 virtual void write(QString trackid, | 41 virtual void write(QString trackid, |
40 const Transform &transform, | 42 const Transform &transform, |
41 const Vamp::Plugin::OutputDescriptor &output, | 43 const Vamp::Plugin::OutputDescriptor &output, |
42 const Vamp::Plugin::FeatureList &features, | 44 const Vamp::Plugin::FeatureList &features, |
43 std::string summaryType = ""); | 45 std::string summaryType = ""); |
93 | 95 |
94 QString writeTransformToObjectContents(const Transform &); | 96 QString writeTransformToObjectContents(const Transform &); |
95 | 97 |
96 bool m_network; | 98 bool m_network; |
97 bool m_networkRetrieved; | 99 bool m_networkRetrieved; |
100 int m_n; | |
101 int m_m; | |
98 }; | 102 }; |
99 | 103 |
100 #endif | 104 #endif |
101 | 105 |