Mercurial > hg > tuning-difference
comparison src/plugins.cpp @ 21:d660db57e902
Rearrange code, include subrepo etc
author | Chris Cannam |
---|---|
date | Thu, 05 Feb 2015 10:13:31 +0000 |
parents | chroma-compare-plugin/plugins.cpp@23572f9d25d9 |
children | f28b34e7ce8d |
comparison
equal
deleted
inserted
replaced
20:331a520cdadb | 21:d660db57e902 |
---|---|
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 |