Chris@10: /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */ Chris@10: Chris@10: /* Chris@10: Rubber Band Library Chris@10: An audio time-stretching and pitch-shifting library. Chris@10: Copyright 2007-2012 Particular Programs Ltd. Chris@10: Chris@10: This program is free software; you can redistribute it and/or Chris@10: modify it under the terms of the GNU General Public License as Chris@10: published by the Free Software Foundation; either version 2 of the Chris@10: License, or (at your option) any later version. See the file Chris@10: COPYING included with this distribution for more information. Chris@10: Chris@10: Alternatively, if you have a valid commercial licence for the Chris@10: Rubber Band Library obtained by agreement with the copyright Chris@10: holders, you may redistribute and/or modify it under the terms Chris@10: described in that licence. Chris@10: Chris@10: If you wish to distribute code using the Rubber Band Library Chris@10: under terms other than those of the GNU General Public License, Chris@10: you must obtain a valid commercial licence before doing so. Chris@10: */ Chris@10: Chris@10: #include Chris@10: #include Chris@10: Chris@10: #include "RubberBandVampPlugin.h" Chris@10: Chris@10: static Vamp::PluginAdapter rubberBandAdapter; Chris@10: Chris@10: const VampPluginDescriptor *vampGetPluginDescriptor(unsigned int version, Chris@10: unsigned int index) Chris@10: { Chris@10: if (version < 1) return 0; Chris@10: Chris@10: switch (index) { Chris@10: case 0: return rubberBandAdapter.getDescriptor(); Chris@10: default: return 0; Chris@10: } Chris@10: } Chris@10: