view src/plugins.cpp @ 61:eace35be49f5

Further README tweak and build fix
author Chris Cannam
date Thu, 11 Jul 2019 11:17:34 +0100
parents 7bdcc40deebe
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;
    }
}