Mercurial > hg > tuning-difference
comparison plugins.cpp @ 0:8a8d8c1f3968
Skeleton
author | Chris Cannam |
---|---|
date | Fri, 23 Jan 2015 17:41:22 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:8a8d8c1f3968 |
---|---|
1 | |
2 #include <vamp/vamp.h> | |
3 #include <vamp-sdk/PluginAdapter.h> | |
4 | |
5 #include "TuningDifference.h" | |
6 | |
7 static Vamp::PluginAdapter<TuningDifference> tdAdapter; | |
8 | |
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 tdAdapter.getDescriptor(); | |
17 default: return 0; | |
18 } | |
19 } | |
20 | |
21 |