Mercurial > hg > tuning-difference
view src/plugins.cpp @ 29:409ff482cb30
Add max-duration parameter. The results are often going to be quite wrong if you use this, simply because the two performances may be at different speeds and so the same duration of each may represent a different (sub-)performance. But it's sometimes necessary just to avoid blowing the thing up.
author | Chris Cannam |
---|---|
date | Fri, 27 Mar 2015 17:20:40 +0000 |
parents | d660db57e902 |
children | f28b34e7ce8d |
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; } }