Mercurial > hg > vamp-aubio-plugins
changeset 73:cc7270debc8e
libmain.cpp: added Mfcc
author | Paul Brossier <piem@piem.org> |
---|---|
date | Wed, 28 Jan 2015 13:28:53 +0100 |
parents | 47b34cd708d3 |
children | ba4b6672a8de |
files | libmain.cpp |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libmain.cpp Wed Jan 28 13:28:22 2015 +0100 +++ b/libmain.cpp Wed Jan 28 13:28:53 2015 +0100 @@ -22,12 +22,14 @@ #include "plugins/Notes.h" #include "plugins/Tempo.h" #include "plugins/Silence.h" +#include "plugins/Mfcc.h" static Vamp::PluginAdapter<Onset> onsetAdapter; static Vamp::PluginAdapter<Pitch> pitchAdapter; static Vamp::PluginAdapter<Notes> notesAdapter; static Vamp::PluginAdapter<Tempo> tempoAdapter; static Vamp::PluginAdapter<Silence> silenceAdapter; +static Vamp::PluginAdapter<Mfcc> mfccAdapter; const VampPluginDescriptor *vampGetPluginDescriptor(unsigned int vampApiVersion, unsigned int index) @@ -40,6 +42,7 @@ case 2: return notesAdapter.getDescriptor(); case 3: return tempoAdapter.getDescriptor(); case 4: return silenceAdapter.getDescriptor(); + case 5: return mfccAdapter.getDescriptor(); default: return 0; } }