Mercurial > hg > azi
annotate plugins.cpp @ 35:299df1b44eff tip
Note source code available
author | Chris Cannam |
---|---|
date | Fri, 15 May 2020 09:40:50 +0100 |
parents | d960c4931501 |
children |
rev | line source |
---|---|
Chris@0 | 1 |
Chris@0 | 2 #include <vamp/vamp.h> |
Chris@0 | 3 #include <vamp-sdk/PluginAdapter.h> |
Chris@0 | 4 |
Chris@0 | 5 #include "Azi.h" |
Chris@0 | 6 |
Chris@0 | 7 static Vamp::PluginAdapter<Azi> myPluginAdapter; |
Chris@0 | 8 |
Chris@0 | 9 const VampPluginDescriptor * |
Chris@0 | 10 vampGetPluginDescriptor(unsigned int version, unsigned int index) |
Chris@0 | 11 { |
Chris@0 | 12 if (version < 1) return 0; |
Chris@0 | 13 |
Chris@0 | 14 switch (index) { |
Chris@0 | 15 case 0: return myPluginAdapter.getDescriptor(); |
Chris@0 | 16 default: return 0; |
Chris@0 | 17 } |
Chris@0 | 18 } |
Chris@0 | 19 |
Chris@0 | 20 |