comparison vamp-sdk/PluginBase.h @ 134:c1dce0b033cb

* Permit '-' as well as the other characters in identifiers (existing plugins were already using this character, it's really the documentation that was at fault) * Fix failure to return output descriptors properly from PluginBufferingAdapter * Fix incorrect sample rate in output descriptors for certain sample types from PluginBufferingAdapter * Fix incorrect timestamping on features returned from PluginBufferingAdapter (rounding error)
author cannam
date Thu, 24 Apr 2008 10:27:02 +0000
parents 24859c958732
children 31eda4b11f2b
comparison
equal deleted inserted replaced
133:92ca8e401044 134:c1dce0b033cb
67 virtual unsigned int getVampApiVersion() const { return 1; } 67 virtual unsigned int getVampApiVersion() const { return 1; }
68 68
69 /** 69 /**
70 * Get the computer-usable name of the plugin. This should be 70 * Get the computer-usable name of the plugin. This should be
71 * reasonably short and contain no whitespace or punctuation 71 * reasonably short and contain no whitespace or punctuation
72 * characters. It may only contain the characters [a-zA-Z0-9_]. 72 * characters. It may only contain the characters [a-zA-Z0-9_-].
73 * This is the authoritative way for a program to identify a 73 * This is the authoritative way for a program to identify a
74 * plugin within a given library. 74 * plugin within a given library.
75 * 75 *
76 * This text may be visible to the user, but it should not be the 76 * This text may be visible to the user, but it should not be the
77 * main text used to identify a plugin to the user (that will be 77 * main text used to identify a plugin to the user (that will be
125 struct ParameterDescriptor 125 struct ParameterDescriptor
126 { 126 {
127 /** 127 /**
128 * The name of the parameter, in computer-usable form. Should 128 * The name of the parameter, in computer-usable form. Should
129 * be reasonably short, and may only contain the characters 129 * be reasonably short, and may only contain the characters
130 * [a-zA-Z0-9_]. 130 * [a-zA-Z0-9_-].
131 */ 131 */
132 std::string identifier; 132 std::string identifier;
133 133
134 /** 134 /**
135 * The human-readable name of the parameter. 135 * The human-readable name of the parameter.