# HG changeset patch # User Chris Cannam # Date 1169727545 0 # Node ID c399785358c80653edd82a08cdc20b8ba7295cfe # Parent 4882563bd2b3867de9058da00f99a079f808cf7d * Add Audacity plugins directory to default LADSPA path on Windows diff -r 4882563bd2b3 -r c399785358c8 system/System.h --- 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