Mercurial > hg > tipic
view src/libmain.cpp @ 10:fa87ce20fe8c
Wire up a working plugin. No resampler/filter latency compensation yet, and the code is messy.
author | Chris Cannam |
---|---|
date | Fri, 14 Aug 2015 17:23:56 +0100 |
parents | |
children |
line wrap: on
line source
/* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */ #include <vamp/vamp.h> #include <vamp-sdk/PluginAdapter.h> #include "TipicVampPlugin.h" static Vamp::PluginAdapter<Tipic> tipicAdapter; const VampPluginDescriptor * vampGetPluginDescriptor(unsigned int version, unsigned int index) { if (version < 1) return 0; switch (index) { case 0: return tipicAdapter.getDescriptor(); default: return 0; } }