diff vamp-sdk/Plugin.h @ 35:154f86cb8c99

* Add an implementation of Dan Barry's percussion onset detector
author cannam
date Wed, 20 Sep 2006 13:51:22 +0000
parents 44ec6c633113
children be8fdfe25693
line wrap: on
line diff
--- a/vamp-sdk/Plugin.h	Tue Aug 01 09:10:06 2006 +0000
+++ b/vamp-sdk/Plugin.h	Wed Sep 20 13:51:22 2006 +0000
@@ -89,7 +89,8 @@
  * all of the parameter and program settings.  If the values passed in
  * to initialise do not match the plugin's advertised preferred values
  * from step 4, the plugin may refuse to initialise and return false
- * (although if possible it should accept the new values).
+ * (although if possible it should accept the new values).  Any
+ * computationally expensive setup code should take place here.
  *
  * 6. Host finally checks the number of values per output (which may
  * vary depending on the number of channels, step size and block size
@@ -110,7 +111,8 @@
  *
  * A plugin does not need to handle the case where setParameter or
  * selectProgram is called after initialise has been called.  It's the
- * host's responsibility not to do that.
+ * host's responsibility not to do that.  Similarly, the plugin may
+ * safely assume that initialise is called no more than once.
  */
 
 class Plugin : public PluginBase