rt-vamp-plugin-sdk
0.3.1
Real-time Vamp plugin SDK for C++20
|
Classes | |
class | Plugin |
class | PluginHostAdapter |
class | PluginKey |
Identifier for a plugin uniquely within the scope of the current system. More... | |
class | PluginLibrary |
Typedefs | |
using | PathList = std::vector< std::filesystem::path > |
Functions | |
PathList | getVampPaths () |
Get default Vamp search paths for plugin libraries. More... | |
bool | isVampLibrary (const std::filesystem::path &libraryPath) |
Check if the library is an existing and valid Vamp library. More... | |
PathList | listLibraries () |
List all plugin libraries in default Vamp search paths. More... | |
PathList | listLibraries (const std::filesystem::path &path) |
List all plugin libraries in custom search path. More... | |
PathList | listLibraries (std::span< const std::filesystem::path > paths) |
List all plugin libraries in custom search paths. More... | |
PluginLibrary | loadLibrary (const std::filesystem::path &libraryPath) |
Load plugin library by file path. More... | |
std::vector< PluginKey > | listPlugins () |
List plugins in default Vamp search paths. More... | |
std::vector< PluginKey > | listPlugins (const std::filesystem::path &path) |
List plugins in path (either directory or library). More... | |
std::vector< PluginKey > | listPlugins (std::span< const std::filesystem::path > paths) |
List plugins in given list of paths (either search paths or library paths). More... | |
std::unique_ptr< Plugin > | loadPlugin (const PluginKey &key, float inputSampleRate) |
Load plugin. More... | |
std::unique_ptr< Plugin > | loadPlugin (const PluginKey &key, float inputSampleRate, std::span< const std::filesystem::path > paths) |
Load plugin from given list of paths (either search paths or library paths). More... | |
using rtvamp::hostsdk::PathList = typedef std::vector<std::filesystem::path> |
PathList rtvamp::hostsdk::getVampPaths | ( | ) |
Get default Vamp search paths for plugin libraries.
A custom path can be set with the VAMP_PATH
environment variable.
bool rtvamp::hostsdk::isVampLibrary | ( | const std::filesystem::path & | libraryPath | ) |
Check if the library is an existing and valid Vamp library.
PathList rtvamp::hostsdk::listLibraries | ( | ) |
List all plugin libraries in default Vamp search paths.
PathList rtvamp::hostsdk::listLibraries | ( | const std::filesystem::path & | path | ) |
List all plugin libraries in custom search path.
PathList rtvamp::hostsdk::listLibraries | ( | std::span< const std::filesystem::path > | paths | ) |
List all plugin libraries in custom search paths.
std::vector<PluginKey> rtvamp::hostsdk::listPlugins | ( | ) |
List plugins in default Vamp search paths.
std::vector<PluginKey> rtvamp::hostsdk::listPlugins | ( | const std::filesystem::path & | path | ) |
List plugins in path (either directory or library).
std::vector<PluginKey> rtvamp::hostsdk::listPlugins | ( | std::span< const std::filesystem::path > | paths | ) |
List plugins in given list of paths (either search paths or library paths).
PluginLibrary rtvamp::hostsdk::loadLibrary | ( | const std::filesystem::path & | libraryPath | ) |
Load plugin library by file path.
std::unique_ptr<Plugin> rtvamp::hostsdk::loadPlugin | ( | const PluginKey & | key, |
float | inputSampleRate | ||
) |
Load plugin.