Mercurial > hg > chp
view plugins.cpp @ 3:32d91b97af7c
OS/X Makefile
author | Chris Cannam |
---|---|
date | Fri, 07 Mar 2014 15:58:49 +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; } }