comparison host/vamp-simple-host.cpp @ 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 39be57dd4eb7
comparison
equal deleted inserted replaced
42:1eb2419fc326 43:3bbe244611bb
50 using std::cerr; 50 using std::cerr;
51 using std::endl; 51 using std::endl;
52 using std::string; 52 using std::string;
53 using std::vector; 53 using std::vector;
54 54
55 55 #define HOST_VERSION "1.0"
56 56
57 void printFeatures(int, int, int, Vamp::Plugin::FeatureSet); 57 void printFeatures(int, int, int, Vamp::Plugin::FeatureSet);
58 void transformInput(float *, size_t); 58 void transformInput(float *, size_t);
59 void fft(unsigned int, bool, double *, double *, double *, double *); 59 void fft(unsigned int, bool, double *, double *, double *, double *);
60 void printPluginPath(); 60 void printPluginPath();
96 " " << name << " -l\n\n" 96 " " << name << " -l\n\n"
97 " -- List the plugin libraries and Vamp plugins in the plugin search path.\n\n" 97 " -- List the plugin libraries and Vamp plugins in the plugin search path.\n\n"
98 #endif 98 #endif
99 " " << name << " -p\n\n" 99 " " << name << " -p\n\n"
100 " -- Print out the Vamp plugin search path.\n\n" 100 " -- Print out the Vamp plugin search path.\n\n"
101 "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" 101 " " << name << " -v\n\n"
102 " -- Display version information only.\n\n"
103 "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"
102 << endl; 104 << endl;
103 return 2; 105 return 2;
104 } 106 }
105 107
108 if (argc == 2 && !strcmp(argv[1], "-v")) {
109 cout << "Simple Vamp plugin host version: " << HOST_VERSION << endl
110 << "Vamp API version: " << VAMP_API_VERSION << endl
111 << "Vamp SDK version: " << VAMP_SDK_VERSION << endl;
112 return 0;
113 }
114
106 if (argc == 2 && !strcmp(argv[1], "-l")) { 115 if (argc == 2 && !strcmp(argv[1], "-l")) {
107 #ifdef HAVE_OPENDIR 116 #ifdef HAVE_OPENDIR
108 enumeratePlugins(); 117 enumeratePlugins();
109 #endif 118 #endif
110 return 0; 119 return 0;