Mercurial > hg > tipic
view src/libmain.cpp @ 15:368bb5a1b4bf
Don't carry out expensive construction in the Vamp plugin ctor. Add tuning freq parameter (not implemented yet though)
author | Chris Cannam |
---|---|
date | Mon, 17 Aug 2015 15:51:13 +0100 |
parents | fa87ce20fe8c |
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; } }