Mercurial > hg > chp
view plugins.cpp @ 0:f559ab000b67
Initial skeleton
author | Chris Cannam |
---|---|
date | Fri, 07 Mar 2014 14:34:50 +0000 |
parents | |
children | f5b9bae2a8c3 |
line wrap: on
line source
#include <vamp/vamp.h> #include <vamp-sdk/PluginAdapter.h> #include "ConstrainedHarmonicPeak.h" static Vamp::PluginAdapter<ConstrainedHarmonicPeak> chpAdapter; const VampPluginDescriptor * vampGetPluginDescriptor(unsigned int version, unsigned int index) { if (version < 1) return 0; switch (index) { case 0: return chpAdapter.getDescriptor(); default: return 0; } }