# HG changeset patch # User cannam # Date 1162324547 0 # Node ID 3bbe244611bb1824e60bc2a996116173bda291ee # Parent 1eb2419fc32615ceb312a548d892ce87656b9ab7 * Update version number to 1.0, some textual tweaks diff -r 1eb2419fc326 -r 3bbe244611bb examples/AmplitudeFollower.cpp --- 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 diff -r 1eb2419fc326 -r 3bbe244611bb examples/PercussionOnsetDetector.cpp --- 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 diff -r 1eb2419fc326 -r 3bbe244611bb examples/SpectralCentroid.cpp --- 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 diff -r 1eb2419fc326 -r 3bbe244611bb examples/ZeroCrossing.cpp --- 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 diff -r 1eb2419fc326 -r 3bbe244611bb host/vamp-simple-host.cpp --- 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(); diff -r 1eb2419fc326 -r 3bbe244611bb vamp-sdk/PluginBase.h --- 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 #include -#define VAMP_SDK_VERSION "0.9.5" +#define VAMP_SDK_VERSION "1.0" namespace Vamp { diff -r 1eb2419fc326 -r 3bbe244611bb vamp/vamp.h --- 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 {