Mercurial > hg > vamp-simple-cepstrum
comparison libmain.cpp @ 0:02587f02ef41
First cut at extracting this from its previous home
author | Chris Cannam |
---|---|
date | Fri, 22 Jun 2012 13:38:51 +0100 |
parents | |
children | 10dfd77951bf |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:02587f02ef41 |
---|---|
1 /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */ | |
2 | |
3 #include <vamp/vamp.h> | |
4 #include <vamp-sdk/PluginAdapter.h> | |
5 | |
6 #include "SimpleCepstrum.h" | |
7 | |
8 static Vamp::PluginAdapter<SimpleCepstrum> cepPluginAdapter; | |
9 | |
10 const VampPluginDescriptor * | |
11 vampGetPluginDescriptor(unsigned int version, unsigned int index) | |
12 { | |
13 if (version < 1) return 0; | |
14 | |
15 switch (index) { | |
16 case 0: return cepPluginAdapter.getDescriptor(); | |
17 default: return 0; | |
18 } | |
19 } | |
20 | |
21 |