annotate plugins.cpp @ 43:4cf2d163127b

Copyrights and tidying
author Chris Cannam
date Thu, 25 Sep 2014 15:13:45 +0100
parents c11367df624d
children
rev   line source
Chris@43 1 /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */
c@0 2
Chris@43 3 /*
Chris@43 4 Vamp Tempogram Plugin
Chris@43 5 Carl Bussey, Centre for Digital Music, Queen Mary University of London
Chris@43 6 Copyright 2014 Queen Mary University of London.
Chris@43 7
Chris@43 8 This program is free software; you can redistribute it and/or
Chris@43 9 modify it under the terms of the GNU General Public License as
Chris@43 10 published by the Free Software Foundation; either version 2 of the
Chris@43 11 License, or (at your option) any later version. See the file
Chris@43 12 COPYING included with this distribution for more information.
Chris@43 13 */
c@0 14
c@0 15 #include <vamp/vamp.h>
c@0 16 #include <vamp-sdk/PluginAdapter.h>
c@0 17
c@14 18 #include "TempogramPlugin.h"
c@0 19
c@14 20 static Vamp::PluginAdapter<TempogramPlugin> myPluginAdapter;
c@0 21
c@0 22
c@0 23 const VampPluginDescriptor *
c@0 24 vampGetPluginDescriptor(unsigned int version, unsigned int index)
c@0 25 {
c@0 26 if (version < 1) return 0;
c@0 27
c@0 28 switch (index) {
c@0 29 case 0: return myPluginAdapter.getDescriptor();
c@0 30 default: return 0;
c@0 31 }
c@0 32 }
c@0 33
c@0 34