view plugins.cpp @ 5:d2f7a8295671

Merge
author Chris Cannam
date Fri, 07 Mar 2014 16:21:22 +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;
    }
}