comparison 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
comparison
equal deleted inserted replaced
73:6d16c376fd2f 74:64d45f526afc
65 * parameters for a feature extraction plugin are configured before 65 * parameters for a feature extraction plugin are configured before
66 * the plugin is used, and do not change during use. 66 * the plugin is used, and do not change during use.
67 * 67 *
68 * 1. Host constructs the plugin, passing it the input sample rate. 68 * 1. Host constructs the plugin, passing it the input sample rate.
69 * The plugin may do basic initialisation, but should not do anything 69 * The plugin may do basic initialisation, but should not do anything
70 * computationally expensive at this point. 70 * computationally expensive at this point. You must make sure your
71 * plugin is cheap to construct, otherwise you'll seriously affect the
72 * startup performance of almost all hosts. If you have serious
73 * initialisation to do, the proper place is in initialise() (step 5).
71 * 74 *
72 * 2. Host may query the plugin's available outputs. 75 * 2. Host may query the plugin's available outputs.
73 * 76 *
74 * 3. Host queries programs and parameter descriptors, and may set 77 * 3. Host queries programs and parameter descriptors, and may set
75 * some or all of them. Parameters that are not explicitly set should 78 * some or all of them. Parameters that are not explicitly set should