Mercurial > hg > sv-dependency-builds
comparison src/rubberband-1.8.1/vamp/libmain.cpp @ 10:37bf6b4a2645
Add FFTW3
author | Chris Cannam |
---|---|
date | Wed, 20 Mar 2013 15:35:50 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
9:c0fb53affa76 | 10:37bf6b4a2645 |
---|---|
1 /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */ | |
2 | |
3 /* | |
4 Rubber Band Library | |
5 An audio time-stretching and pitch-shifting library. | |
6 Copyright 2007-2012 Particular Programs Ltd. | |
7 | |
8 This program is free software; you can redistribute it and/or | |
9 modify it under the terms of the GNU General Public License as | |
10 published by the Free Software Foundation; either version 2 of the | |
11 License, or (at your option) any later version. See the file | |
12 COPYING included with this distribution for more information. | |
13 | |
14 Alternatively, if you have a valid commercial licence for the | |
15 Rubber Band Library obtained by agreement with the copyright | |
16 holders, you may redistribute and/or modify it under the terms | |
17 described in that licence. | |
18 | |
19 If you wish to distribute code using the Rubber Band Library | |
20 under terms other than those of the GNU General Public License, | |
21 you must obtain a valid commercial licence before doing so. | |
22 */ | |
23 | |
24 #include <vamp/vamp.h> | |
25 #include <vamp-sdk/PluginAdapter.h> | |
26 | |
27 #include "RubberBandVampPlugin.h" | |
28 | |
29 static Vamp::PluginAdapter<RubberBandVampPlugin> rubberBandAdapter; | |
30 | |
31 const VampPluginDescriptor *vampGetPluginDescriptor(unsigned int version, | |
32 unsigned int index) | |
33 { | |
34 if (version < 1) return 0; | |
35 | |
36 switch (index) { | |
37 case 0: return rubberBandAdapter.getDescriptor(); | |
38 default: return 0; | |
39 } | |
40 } | |
41 |