Mercurial > hg > azi
diff 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 diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/plugins.cpp Fri Jul 25 17:11:57 2014 +0100 @@ -0,0 +1,20 @@ + +#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; + } +} + +