diff vamp-sdk/Plugin.h @ 74:64d45f526afc

* strengthen imprecations against doing heavy lifting in plugin constructor
author cannam
date Wed, 06 Jun 2007 13:14:18 +0000
parents 9d3272c7db60
children 6683f99107cf
line wrap: on
line diff
--- a/vamp-sdk/Plugin.h	Wed Jun 06 12:49:55 2007 +0000
+++ b/vamp-sdk/Plugin.h	Wed Jun 06 13:14:18 2007 +0000
@@ -67,7 +67,10 @@
  *
  * 1. Host constructs the plugin, passing it the input sample rate.
  * The plugin may do basic initialisation, but should not do anything
- * computationally expensive at this point.
+ * computationally expensive at this point.  You must make sure your
+ * plugin is cheap to construct, otherwise you'll seriously affect the
+ * startup performance of almost all hosts.  If you have serious
+ * initialisation to do, the proper place is in initialise() (step 5).
  *
  * 2. Host may query the plugin's available outputs.
  *