Mercurial > hg > vamp-plugin-sdk
changeset 74:64d45f526afc
* strengthen imprecations against doing heavy lifting in plugin constructor
author | cannam |
---|---|
date | Wed, 06 Jun 2007 13:14:18 +0000 |
parents | 6d16c376fd2f |
children | 0f8524203677 |
files | vamp-sdk/Plugin.h |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
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. *