comparison plugins.cpp @ 0:f559ab000b67

Initial skeleton
author Chris Cannam
date Fri, 07 Mar 2014 14:34:50 +0000
parents
children f5b9bae2a8c3
comparison
equal deleted inserted replaced
-1:000000000000 0:f559ab000b67
1
2 #include <vamp/vamp.h>
3 #include <vamp-sdk/PluginAdapter.h>
4
5 #include "ConstrainedHarmonicPeak.h"
6
7 static Vamp::PluginAdapter<ConstrainedHarmonicPeak> chpAdapter;
8
9 const VampPluginDescriptor *
10 vampGetPluginDescriptor(unsigned int version, unsigned int index)
11 {
12 if (version < 1) return 0;
13
14 switch (index) {
15 case 0: return chpAdapter.getDescriptor();
16 default: return 0;
17 }
18 }
19
20