projects
/
vamp-aubio-plugins.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
plugins/Onset.cpp: added onset detection function and threshold odf
[vamp-aubio-plugins.git]
/
libmain.cpp
diff --git
a/libmain.cpp
b/libmain.cpp
index
787ef0c
..
eeff3ed
100644
(file)
--- a/
libmain.cpp
+++ b/
libmain.cpp
@@
-32,7
+32,7
@@
static Vamp::PluginAdapter<Silence> silenceAdapter;
const VampPluginDescriptor *vampGetPluginDescriptor(unsigned int vampApiVersion,
unsigned int index)
{
- if (vampApiVersion <
1
) return 0;
+ if (vampApiVersion <
2
) return 0;
switch (index) {
case 0: return onsetAdapter.getDescriptor();