diff 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
line wrap: on
line diff
--- a/plugin/DSSIPluginFactory.cpp	Thu Mar 30 15:00:22 2006 +0000
+++ b/plugin/DSSIPluginFactory.cpp	Fri Mar 31 15:56:35 2006 +0000
@@ -206,7 +206,10 @@
     if (path == "") {
 	path = "/usr/local/lib/dssi:/usr/lib/dssi";
 	char *home = getenv("HOME");
-	if (home) path = std::string(home) + "/.dssi:" + path;
+	if (home) {
+            path = std::string(home) + "/dssi:" +
+                   std::string(home) + "/.dssi:" + path;
+        }
     }
 
     std::string::size_type index = 0, newindex = 0;