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