VampPluginSDK
2.10
|
#include "vamp/vamp.h"
#include "vamp-sdk/PluginAdapter.h"
#include "ZeroCrossing.h"
#include "SpectralCentroid.h"
#include "PercussionOnsetDetector.h"
#include "FixedTempoEstimator.h"
#include "AmplitudeFollower.h"
#include "PowerSpectrum.h"
Go to the source code of this file.
Functions | |
const VampPluginDescriptor * | vampGetPluginDescriptor (unsigned int version, unsigned int index) |
Get the descriptor for a given plugin index in this library. More... | |
Variables | |
static Vamp::PluginAdapter< ZeroCrossing > | zeroCrossingAdapter |
static Vamp::PluginAdapter< SpectralCentroid > | spectralCentroidAdapter |
static Vamp::PluginAdapter< PercussionOnsetDetector > | percussionOnsetAdapter |
static Vamp::PluginAdapter< FixedTempoEstimator > | fixedTempoAdapter |
static Vamp::PluginAdapter< AmplitudeFollower > | amplitudeAdapter |
static Vamp::PluginAdapter< PowerSpectrum > | powerSpectrum |
Function Documentation
const VampPluginDescriptor* vampGetPluginDescriptor | ( | unsigned int | hostApiVersion, |
unsigned int | index | ||
) |
Get the descriptor for a given plugin index in this library.
Return NULL if the index is outside the range of valid indices for this plugin library.
The hostApiVersion argument tells the library code the highest Vamp API version supported by the host. The function should return a plugin descriptor compatible with the highest API version supported by the library that is no higher than that supported by the host. Provided the descriptor has the correct vampApiVersion field for its actual compatibility level, the host should be able to do the right thing with it: use it if possible, discard it otherwise.
This is the only symbol that a Vamp plugin actually needs to export from its shared object; all others can be hidden. See the accompanying documentation for notes on how to achieve this with certain compilers.
Definition at line 54 of file plugins.cpp.
References Vamp::PluginAdapterBase::getDescriptor().
Variable Documentation
|
static |
Definition at line 47 of file plugins.cpp.
|
static |
Definition at line 48 of file plugins.cpp.
|
static |
Definition at line 49 of file plugins.cpp.
|
static |
Definition at line 50 of file plugins.cpp.
|
static |
Definition at line 51 of file plugins.cpp.
|
static |
Definition at line 52 of file plugins.cpp.
Generated by 1.8.11