Mercurial > hg > tuning-difference
view src/plugins.cpp @ 55:7bdcc40deebe
Revert to having only a single plugin - I think this should be sufficiently backward compatible after all
author | Chris Cannam |
---|---|
date | Thu, 11 Jul 2019 09:58:56 +0100 |
parents | f28b34e7ce8d |
children |
line wrap: on
line source
#include <vamp/vamp.h> #include <vamp-sdk/PluginAdapter.h> #include "TuningDifference.h" static Vamp::PluginAdapter<TuningDifference> tdAdapter; const VampPluginDescriptor * vampGetPluginDescriptor(unsigned int version, unsigned int index) { if (version < 1) return 0; switch (index) { case 0: return tdAdapter.getDescriptor(); default: return 0; } }