annotate segmentino/libmain.cpp @ 48:69251e11a913

Rename SongParts/songpartitioner to Segmentino throughout
author Chris Cannam
date Thu, 13 Jun 2013 09:43:01 +0100
parents songparts/libmain.cpp@1e34111baea5
children 3d5f8e4593ef
rev   line source
max@1 1 /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */
max@1 2
max@1 3 /*
Chris@48 4 Segmentino
max@1 5
Chris@48 6 Code by Massimiliano Zanoni and Matthias Mauch
Chris@48 7 Centre for Digital Music, Queen Mary, University of London
Chris@48 8
Chris@48 9 Copyright 2009-2013 Queen Mary, University of London.
max@1 10
max@1 11 This program is free software; you can redistribute it and/or
max@1 12 modify it under the terms of the GNU General Public License as
max@1 13 published by the Free Software Foundation; either version 2 of the
max@1 14 License, or (at your option) any later version. See the file
max@1 15 COPYING included with this distribution for more information.
max@1 16 */
max@1 17
max@1 18 #include <vamp/vamp.h>
max@1 19 #include <vamp-sdk/PluginAdapter.h>
max@1 20
Chris@48 21 #include "Segmentino.h"
max@1 22
Chris@48 23 static Vamp::PluginAdapter<Segmentino> segmentinoAdapter;
max@1 24
max@1 25 const VampPluginDescriptor *vampGetPluginDescriptor(unsigned int vampApiVersion,
max@1 26 unsigned int index)
max@1 27 {
max@1 28 if (vampApiVersion < 1) return 0;
max@1 29
max@1 30 switch (index) {
Chris@48 31 case 0: return segmentinoAdapter.getDescriptor();
max@1 32 default: return 0;
max@1 33 }
max@1 34 }
max@1 35