Mercurial > hg > chp
view plugins.cpp @ 6:e9b629578488
Default value fixes, docs etc
author | Chris Cannam |
---|---|
date | Mon, 10 Mar 2014 14:51:09 +0000 |
parents | f559ab000b67 |
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; } }