Mercurial > hg > vamp-plugin-sdk
comparison vamp-sdk/Plugin.h @ 49:aa64a46320d4
* Rename "name" and "description" to "identifier" and "name"; add new
"description" that actually contains a description
author | cannam |
---|---|
date | Mon, 26 Feb 2007 18:08:48 +0000 |
parents | be8fdfe25693 |
children | 74822738965b |
comparison
equal
deleted
inserted
replaced
48:f46bf5e0fa42 | 49:aa64a46320d4 |
---|---|
194 | 194 |
195 struct OutputDescriptor | 195 struct OutputDescriptor |
196 { | 196 { |
197 /** | 197 /** |
198 * The name of the output, in computer-usable form. Should be | 198 * The name of the output, in computer-usable form. Should be |
199 * reasonably short and without whitespace or punctuation. | 199 * reasonably short and without whitespace or punctuation, using |
200 * the characters [a-zA-Z0-9_] only. | |
201 * Example: "zero_crossing_count" | |
202 */ | |
203 std::string identifier; | |
204 | |
205 /** | |
206 * The human-readable name of the output. | |
207 * Example: "Zero Crossing Counts" | |
200 */ | 208 */ |
201 std::string name; | 209 std::string name; |
202 | 210 |
203 /** | 211 /** |
204 * The human-readable name of the output. | 212 * A human-readable short text describing the output. May be |
213 * empty if the name has said it all already. | |
214 * Example: "The number of zero crossing points per processing block" | |
205 */ | 215 */ |
206 std::string description; | 216 std::string description; |
207 | 217 |
208 /** | 218 /** |
209 * The unit of the output, in human-readable form. | 219 * The unit of the output, in human-readable form. |
224 * interest, the value list will be empty). | 234 * interest, the value list will be empty). |
225 */ | 235 */ |
226 size_t binCount; | 236 size_t binCount; |
227 | 237 |
228 /** | 238 /** |
229 * The names of each of the bins, if appropriate. This is | 239 * The (human-readable) names of each of the bins, if |
230 * always optional. | 240 * appropriate. This is always optional. |
231 */ | 241 */ |
232 std::vector<std::string> binNames; | 242 std::vector<std::string> binNames; |
233 | 243 |
234 /** | 244 /** |
235 * True if the results in each output bin fall within a fixed | 245 * True if the results in each output bin fall within a fixed |