Chris@31: /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */ Chris@31: Chris@31: /* Chris@31: Silvet Chris@31: Chris@31: A Vamp plugin for note transcription. Chris@31: Centre for Digital Music, Queen Mary University of London. Chris@31: Chris@31: This program is free software; you can redistribute it and/or Chris@31: modify it under the terms of the GNU General Public License as Chris@31: published by the Free Software Foundation; either version 2 of the Chris@31: License, or (at your option) any later version. See the file Chris@31: COPYING included with this distribution for more information. Chris@31: */ Chris@31: Chris@31: #include Chris@31: #include Chris@31: Chris@31: #include "Silvet.h" Chris@31: Chris@31: static Vamp::PluginAdapter silvetAdapter; Chris@31: Chris@31: const VampPluginDescriptor * Chris@31: vampGetPluginDescriptor(unsigned int version, unsigned int index) Chris@31: { Chris@31: if (version < 1) return 0; Chris@31: Chris@31: switch (index) { Chris@31: case 0: return silvetAdapter.getDescriptor(); Chris@31: default: return 0; Chris@31: } Chris@31: } Chris@31: Chris@31: