Go to the source code of this file.
◆ vhLibrary
◆ vhGetLibraryCount()
int vhGetLibraryCount |
( |
| ) |
|
|
extern |
Return the number of Vamp plugin libraries discovered in the installation path.
This number will remain fixed after the first call – plugins are only discovered once, the first time this function is called.
◆ vhGetLibraryName()
const char * vhGetLibraryName |
( |
int |
library | ) |
|
|
extern |
Return the library name (base soname) of the library with the given index, in the range 0..(vhGetLibraryCount()-1).
◆ vhGetLibraryIndex()
int vhGetLibraryIndex |
( |
const char * |
name | ) |
|
|
extern |
Return the library index for the given library name, or -1 if the name is not known.
◆ vhLoadLibrary()
Load the library with the given index.
If the library cannot be loaded for any reason, the return value is 0; otherwise it is an opaque pointer suitable for passing to other functions in this API.
◆ vhGetPluginCount()
Return the number of Vamp plugins in the given library.
◆ vhGetPluginDescriptor()
Return a Vamp plugin descriptor for a plugin in a given library.
This simply calls the vampGetPluginDescriptor function in that library with the given plugin index and returns the result. See vamp/vamp.h for details about the plugin descriptor.
◆ vhUnloadLibrary()
Unload a plugin library.
Do not do this while any of its plugins are still in use.