comparison 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
comparison
equal deleted inserted replaced
47:5ead8717a618 48:69251e11a913
1 /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */
2
3 /*
4 Segmentino
5
6 Code by Massimiliano Zanoni and Matthias Mauch
7 Centre for Digital Music, Queen Mary, University of London
8
9 Copyright 2009-2013 Queen Mary, University of London.
10
11 This program is free software; you can redistribute it and/or
12 modify it under the terms of the GNU General Public License as
13 published by the Free Software Foundation; either version 2 of the
14 License, or (at your option) any later version. See the file
15 COPYING included with this distribution for more information.
16 */
17
18 #include <vamp/vamp.h>
19 #include <vamp-sdk/PluginAdapter.h>
20
21 #include "Segmentino.h"
22
23 static Vamp::PluginAdapter<Segmentino> segmentinoAdapter;
24
25 const VampPluginDescriptor *vampGetPluginDescriptor(unsigned int vampApiVersion,
26 unsigned int index)
27 {
28 if (vampApiVersion < 1) return 0;
29
30 switch (index) {
31 case 0: return segmentinoAdapter.getDescriptor();
32 default: return 0;
33 }
34 }
35