comparison plugin/DSSIPluginFactory.cpp @ 66:7afcfe666910

* Modify to use Vamp SDK for proper feature extraction plugins. Requires that the vamp-plugin-sdk directory tree be present below plugin/ (it's separate in Subversion).
author Chris Cannam
date Fri, 31 Mar 2006 15:56:35 +0000
parents 3086ff194ea0
children 4b2ea82fd0ed
comparison
equal deleted inserted replaced
65:e1aad27029e3 66:7afcfe666910
204 if (cpath) path = cpath; 204 if (cpath) path = cpath;
205 205
206 if (path == "") { 206 if (path == "") {
207 path = "/usr/local/lib/dssi:/usr/lib/dssi"; 207 path = "/usr/local/lib/dssi:/usr/lib/dssi";
208 char *home = getenv("HOME"); 208 char *home = getenv("HOME");
209 if (home) path = std::string(home) + "/.dssi:" + path; 209 if (home) {
210 path = std::string(home) + "/dssi:" +
211 std::string(home) + "/.dssi:" + path;
212 }
210 } 213 }
211 214
212 std::string::size_type index = 0, newindex = 0; 215 std::string::size_type index = 0, newindex = 0;
213 216
214 while ((newindex = path.find(':', index)) < path.size()) { 217 while ((newindex = path.find(':', index)) < path.size()) {