comparison vamp-sdk/hostext/PluginLoader.h @ 61:97c5ac99d725 host-factory-stuff

* install hostext headers to vamp-sdk/hostext/ rather than vamp-sdk/ * adjust timestamps in input-domain adapter so as to centre them on block as required by Plugin documentation * better handling for frequency-domain plugins that want non-power-of-two blocksizes (can't handle them, but at least try offering them a power-of-two alternative) * couple of Plugin doc additions * make PluginLoader capable of returning ready-wrapped plugins
author cannam
date Fri, 01 Jun 2007 13:53:42 +0000
parents 087c16cca0d6
children fe5486ee1c70
comparison
equal deleted inserted replaced
60:087c16cca0d6 61:97c5ac99d725
60 60
61 PluginKeyList listPlugins(); //!!! pass in version number? 61 PluginKeyList listPlugins(); //!!! pass in version number?
62 62
63 PluginKey composePluginKey(std::string libraryName, std::string identifier); 63 PluginKey composePluginKey(std::string libraryName, std::string identifier);
64 64
65 Plugin *loadPlugin(PluginKey plugin, float inputSampleRate); 65 enum AdapterFlags {
66 ADAPT_INPUT_DOMAIN = 0x01,
67 ADAPT_CHANNEL_COUNT = 0x02,
68 ADAPT_ALL = 0xff
69 };
70
71 Plugin *loadPlugin(PluginKey plugin,
72 float inputSampleRate,
73 int adapterFlags = 0);
66 74
67 PluginCategoryHierarchy getPluginCategory(PluginKey plugin); 75 PluginCategoryHierarchy getPluginCategory(PluginKey plugin);
68 76
69 std::string getLibraryPathForPlugin(PluginKey plugin); 77 std::string getLibraryPathForPlugin(PluginKey plugin);
70 78