changeset 219:c399785358c8

* Add Audacity plugins directory to default LADSPA path on Windows
author Chris Cannam
date Thu, 25 Jan 2007 12:19:05 +0000
parents 4882563bd2b3
children e08cb0158e81
files system/System.h
diffstat 1 files changed, 13 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/system/System.h	Thu Jan 25 12:02:44 2007 +0000
+++ b/system/System.h	Thu Jan 25 12:19:05 2007 +0000
@@ -33,10 +33,20 @@
 
 #define PLUGIN_GLOB  "*.dll"
 
-// The default Vamp plugin path is obtained from a function in the Vamp SDK
-// (Vamp::PluginHostAdapter::getPluginPath).
+// The default Vamp plugin path is obtained from a function in the
+// Vamp SDK (Vamp::PluginHostAdapter::getPluginPath).
 
-#define DEFAULT_LADSPA_PATH "%ProgramFiles%\\LADSPA Plugins"
+// At the time of writing, at least, the vast majority of LADSPA
+// plugins on Windows hosts will have been put there for use in
+// Audacity.  It's a bit of a shame that Audacity uses its own Program
+// Files directory for plugins that any host may want to use... maybe
+// they were just following the example of VSTs, which are usually
+// found in Steinberg's Program Files directory.  Anyway, we can
+// greatly increase our chances of picking up some LADSPA plugins by
+// default if we include the Audacity plugin location as well as an
+// (imho) more sensible place.
+
+#define DEFAULT_LADSPA_PATH "%ProgramFiles%\\LADSPA Plugins:%ProgramFiles%\\Audacity\\Plug-Ins"
 #define DEFAULT_DSSI_PATH   "%ProgramFiles%\\DSSI Plugins"
 
 #define getpid _getpid