37#ifndef _VAMP_PLUGIN_LOADER_H_
38#define _VAMP_PLUGIN_LOADER_H_
202 ADAPT_INPUT_DOMAIN = 0x01,
203 ADAPT_CHANNEL_COUNT = 0x02,
204 ADAPT_BUFFER_SIZE = 0x04,
206 ADAPT_ALL_SAFE = 0x03,
229 float inputSampleRate,
230 int adapterFlags = 0);
244 std::string identifier);
Vamp::HostExt::PluginLoader is a convenience class for discovering and loading Vamp plugins using the...
PluginKeyList listPluginsIn(std::vector< std::string > libraryNames)
Search for available Vamp plugins in libraries with the given library names, and return a list of the...
PluginKeyList listPluginsNotIn(std::vector< std::string > libraryNames)
Search for available Vamp plugins in libraries other than those with the given library names,...
std::vector< PluginKey > PluginKeyList
PluginKeyList is a sequence of plugin keys, such as returned by listPlugins().
Plugin * loadPlugin(PluginKey key, float inputSampleRate, int adapterFlags=0)
Load a Vamp plugin, given its identifying key.
std::string PluginKey
PluginKey is a string type that is used to identify a plugin uniquely within the scope of "the curren...
std::string getLibraryPathForPlugin(PluginKey plugin)
Return the file path of the dynamic library from which the given plugin will be loaded (if available)...
static PluginLoader * getInstance()
Obtain a pointer to the singleton instance of PluginLoader.
PluginCategoryHierarchy getPluginCategory(PluginKey plugin)
Return the category hierarchy for a Vamp plugin, given its identifying key.
PluginKey composePluginKey(std::string libraryName, std::string identifier)
Given a Vamp plugin library name and plugin identifier, return the corresponding plugin key in a form...
std::vector< std::string > PluginCategoryHierarchy
PluginCategoryHierarchy is a sequence of general->specific category names, as may be associated with ...
static PluginLoader * m_instance
AdapterFlags
AdapterFlags contains a set of values that may be OR'd together to indicate in which circumstances Pl...
PluginKeyList listPlugins()
Search for all available Vamp plugins, and return a list of them in the order in which they were foun...
Vamp::Plugin is a base class for plugin instance classes that provide feature extraction from audio o...
#define _VAMP_SDK_HOSTSPACE_END(h)
#define _VAMP_SDK_HOSTSPACE_BEGIN(h)