view src/plugins.cpp @ 37:f366ea908fbd

Experiment with git submodules (as well as hg subrepos!)
author Chris Cannam
date Thu, 19 May 2016 13:31:44 +0100
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;
    }
}