annotate segmentino/libmain.cpp @ 84:55a047986812 tip

Update library URI so as not to be document-local
author Chris Cannam
date Wed, 22 Apr 2020 14:21:57 +0100
parents 3d5f8e4593ef
children
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
Chris@65 11 This program is free software: you can redistribute it and/or
Chris@65 12 modify it under the terms of the GNU Affero General Public License
Chris@65 13 as published by the Free Software Foundation, either version 3 of
Chris@65 14 the 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