Mercurial > hg > vamp-test-plugin
comparison VampTestPlugin.cpp @ 1:572e2a3f3f11
A couple of outputs
author | Chris Cannam |
---|---|
date | Thu, 21 Mar 2013 21:30:22 +0000 (2013-03-21) |
parents | 21d94fc628c8 |
children | 3d07cfc3ee70 |
comparison
equal
deleted
inserted
replaced
0:21d94fc628c8 | 1:572e2a3f3f11 |
---|---|
121 VampTestPlugin::getOutputDescriptors() const | 121 VampTestPlugin::getOutputDescriptors() const |
122 { | 122 { |
123 OutputList list; | 123 OutputList list; |
124 | 124 |
125 OutputDescriptor d; | 125 OutputDescriptor d; |
126 d.identifier = "output"; | 126 |
127 d.name = "My Output"; | 127 //!!! review these: extents, units etc |
128 d.description = ""; | 128 |
129 d.identifier = "instants"; | |
130 d.name = "Instants"; | |
131 d.description = ""; //!!! | |
132 d.unit = ""; | |
133 d.hasFixedBinCount = true; | |
134 d.binCount = 0; | |
135 d.hasKnownExtents = false; | |
136 d.isQuantized = false; | |
137 d.sampleType = OutputDescriptor::VariableSampleRate; | |
138 d.hasDuration = false; | |
139 list.push_back(d); | |
140 | |
141 d.identifier = "curve-oss"; | |
142 d.name = "Curve: OneSamplePerStep"; | |
143 d.description = ""; //!!! | |
129 d.unit = ""; | 144 d.unit = ""; |
130 d.hasFixedBinCount = true; | 145 d.hasFixedBinCount = true; |
131 d.binCount = 1; | 146 d.binCount = 1; |
132 d.hasKnownExtents = false; | 147 d.hasKnownExtents = false; |
133 d.isQuantized = false; | 148 d.isQuantized = false; |
134 d.sampleType = OutputDescriptor::OneSamplePerStep; | 149 d.sampleType = OutputDescriptor::OneSamplePerStep; |
150 d.hasDuration = false; | |
151 list.push_back(d); | |
152 | |
153 d.identifier = "curve-fsr"; | |
154 d.name = "Curve: FixedSampleRate"; | |
155 d.description = ""; //!!! | |
156 d.unit = ""; | |
157 d.hasFixedBinCount = true; | |
158 d.binCount = 1; | |
159 d.hasKnownExtents = false; | |
160 d.isQuantized = false; | |
161 d.sampleType = OutputDescriptor::FixedSampleRate; | |
162 d.sampleRate = 2; //!!! | |
163 d.hasDuration = false; | |
164 list.push_back(d); | |
165 | |
166 d.identifier = "curve-vsr"; | |
167 d.name = "Curve: VariableSampleRate"; | |
168 d.description = ""; //!!! | |
169 d.unit = ""; | |
170 d.hasFixedBinCount = true; | |
171 d.binCount = 1; | |
172 d.hasKnownExtents = false; | |
173 d.isQuantized = false; | |
174 d.sampleType = OutputDescriptor::VariableSampleRate; | |
175 d.sampleRate = 0; //!!! | |
135 d.hasDuration = false; | 176 d.hasDuration = false; |
136 list.push_back(d); | 177 list.push_back(d); |
137 | 178 |
138 return list; | 179 return list; |
139 } | 180 } |