rt-vamp-plugin-sdk  0.3.1
Real-time Vamp plugin SDK for C++20
Namespaces | Typedefs | Functions
hostsdk.hpp File Reference
#include <filesystem>
#include <memory>
#include <span>
#include <vector>
#include "rtvamp/hostsdk/Plugin.hpp"
#include "rtvamp/hostsdk/PluginKey.hpp"
#include "rtvamp/hostsdk/PluginLibrary.hpp"
Include dependency graph for hostsdk.hpp:

Go to the source code of this file.

Namespaces

 rtvamp
 
 rtvamp::hostsdk
 

Typedefs

using rtvamp::hostsdk::PathList = std::vector< std::filesystem::path >
 

Functions

PathList rtvamp::hostsdk::getVampPaths ()
 Get default Vamp search paths for plugin libraries. More...
 
bool rtvamp::hostsdk::isVampLibrary (const std::filesystem::path &libraryPath)
 Check if the library is an existing and valid Vamp library. More...
 
PathList rtvamp::hostsdk::listLibraries ()
 List all plugin libraries in default Vamp search paths. More...
 
PathList rtvamp::hostsdk::listLibraries (const std::filesystem::path &path)
 List all plugin libraries in custom search path. More...
 
PathList rtvamp::hostsdk::listLibraries (std::span< const std::filesystem::path > paths)
 List all plugin libraries in custom search paths. More...
 
PluginLibrary rtvamp::hostsdk::loadLibrary (const std::filesystem::path &libraryPath)
 Load plugin library by file path. More...
 
std::vector< PluginKey > rtvamp::hostsdk::listPlugins ()
 List plugins in default Vamp search paths. More...
 
std::vector< PluginKey > rtvamp::hostsdk::listPlugins (const std::filesystem::path &path)
 List plugins in path (either directory or library). More...
 
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). More...
 
std::unique_ptr< Plugin > rtvamp::hostsdk::loadPlugin (const PluginKey &key, float inputSampleRate)
 Load plugin. More...
 
std::unique_ptr< Plugin > rtvamp::hostsdk::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...