view plugins.cpp @ 0:d960c4931501

Import Vamp plugin skeleton
author Chris Cannam
date Fri, 25 Jul 2014 17:11:57 +0100
parents
children
line wrap: on
line source

#include <vamp/vamp.h>
#include <vamp-sdk/PluginAdapter.h>

#include "Azi.h"

static Vamp::PluginAdapter<Azi> myPluginAdapter;

const VampPluginDescriptor *
vampGetPluginDescriptor(unsigned int version, unsigned int index)
{
    if (version < 1) return 0;

    switch (index) {
    case  0: return myPluginAdapter.getDescriptor();
    default: return 0;
    }
}