Mercurial > hg > vamp-plugin-sdk
changeset 43:3bbe244611bb
* Update version number to 1.0, some textual tweaks
author | cannam |
---|---|
date | Tue, 31 Oct 2006 19:55:47 +0000 |
parents | 1eb2419fc326 |
children | ce61ad9b9159 |
files | examples/AmplitudeFollower.cpp examples/PercussionOnsetDetector.cpp examples/SpectralCentroid.cpp examples/ZeroCrossing.cpp host/vamp-simple-host.cpp vamp-sdk/PluginBase.h vamp/vamp.h |
diffstat | 7 files changed, 20 insertions(+), 11 deletions(-) [+] |
line wrap: on
line diff
--- a/examples/AmplitudeFollower.cpp Mon Oct 30 10:20:21 2006 +0000 +++ b/examples/AmplitudeFollower.cpp Tue Oct 31 19:55:47 2006 +0000 @@ -80,7 +80,7 @@ string AmplitudeFollower::getMaker() const { - return "Queen Mary, University of London"; + return "Vamp SDK Example Plugins"; } int
--- a/examples/PercussionOnsetDetector.cpp Mon Oct 30 10:20:21 2006 +0000 +++ b/examples/PercussionOnsetDetector.cpp Tue Oct 31 19:55:47 2006 +0000 @@ -76,7 +76,7 @@ string PercussionOnsetDetector::getMaker() const { - return "Queen Mary, University of London"; + return "Vamp SDK Example Plugins"; } int
--- a/examples/SpectralCentroid.cpp Mon Oct 30 10:20:21 2006 +0000 +++ b/examples/SpectralCentroid.cpp Tue Oct 31 19:55:47 2006 +0000 @@ -70,7 +70,7 @@ string SpectralCentroid::getMaker() const { - return "Queen Mary, University of London"; + return "Vamp SDK Example Plugins"; } int
--- a/examples/ZeroCrossing.cpp Mon Oct 30 10:20:21 2006 +0000 +++ b/examples/ZeroCrossing.cpp Tue Oct 31 19:55:47 2006 +0000 @@ -68,7 +68,7 @@ string ZeroCrossing::getMaker() const { - return "Queen Mary, University of London"; + return "Vamp SDK Example Plugins"; } int
--- a/host/vamp-simple-host.cpp Mon Oct 30 10:20:21 2006 +0000 +++ b/host/vamp-simple-host.cpp Tue Oct 31 19:55:47 2006 +0000 @@ -52,7 +52,7 @@ using std::string; using std::vector; - +#define HOST_VERSION "1.0" void printFeatures(int, int, int, Vamp::Plugin::FeatureSet); void transformInput(float *, size_t); @@ -98,11 +98,20 @@ #endif " " << name << " -p\n\n" " -- Print out the Vamp plugin search path.\n\n" - "Note that this host does not use the plugin search path when loading a plugin.\nIf a plugin library is specified, it should be with a full file path.\n" + " " << name << " -v\n\n" + " -- Display version information only.\n\n" + "Note that this host does not use the plugin search path when loadinga plugin.\nIf a plugin library is specified, it should be with a full file path.\n" << endl; return 2; } - + + if (argc == 2 && !strcmp(argv[1], "-v")) { + cout << "Simple Vamp plugin host version: " << HOST_VERSION << endl + << "Vamp API version: " << VAMP_API_VERSION << endl + << "Vamp SDK version: " << VAMP_SDK_VERSION << endl; + return 0; + } + if (argc == 2 && !strcmp(argv[1], "-l")) { #ifdef HAVE_OPENDIR enumeratePlugins();
--- a/vamp-sdk/PluginBase.h Mon Oct 30 10:20:21 2006 +0000 +++ b/vamp-sdk/PluginBase.h Tue Oct 31 19:55:47 2006 +0000 @@ -40,7 +40,7 @@ #include <string> #include <vector> -#define VAMP_SDK_VERSION "0.9.5" +#define VAMP_SDK_VERSION "1.0" namespace Vamp {
--- a/vamp/vamp.h Mon Oct 30 10:20:21 2006 +0000 +++ b/vamp/vamp.h Tue Oct 31 19:55:47 2006 +0000 @@ -61,9 +61,9 @@ * Plugin API version. Incompatible changes to the API may be expected * prior to version 1.0. */ -#define VAMP_API_VERSION "0.9" -#define VAMP_API_VERSION_MAJOR 0 -#define VAMP_API_VERSION_MINOR 9 +#define VAMP_API_VERSION "1.0" +#define VAMP_API_VERSION_MAJOR 1 +#define VAMP_API_VERSION_MINOR 0 typedef struct _VampParameterDescriptor {