comparison system/System.h @ 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 91fdc752e540
children bf753a9abf0c
comparison
equal deleted inserted replaced
218:4882563bd2b3 219:c399785358c8
31 #define DLCLOSE(a) FreeLibrary((HINSTANCE)(a)) 31 #define DLCLOSE(a) FreeLibrary((HINSTANCE)(a))
32 #define DLERROR() "" 32 #define DLERROR() ""
33 33
34 #define PLUGIN_GLOB "*.dll" 34 #define PLUGIN_GLOB "*.dll"
35 35
36 // The default Vamp plugin path is obtained from a function in the Vamp SDK 36 // The default Vamp plugin path is obtained from a function in the
37 // (Vamp::PluginHostAdapter::getPluginPath). 37 // Vamp SDK (Vamp::PluginHostAdapter::getPluginPath).
38 38
39 #define DEFAULT_LADSPA_PATH "%ProgramFiles%\\LADSPA Plugins" 39 // At the time of writing, at least, the vast majority of LADSPA
40 // plugins on Windows hosts will have been put there for use in
41 // Audacity. It's a bit of a shame that Audacity uses its own Program
42 // Files directory for plugins that any host may want to use... maybe
43 // they were just following the example of VSTs, which are usually
44 // found in Steinberg's Program Files directory. Anyway, we can
45 // greatly increase our chances of picking up some LADSPA plugins by
46 // default if we include the Audacity plugin location as well as an
47 // (imho) more sensible place.
48
49 #define DEFAULT_LADSPA_PATH "%ProgramFiles%\\LADSPA Plugins:%ProgramFiles%\\Audacity\\Plug-Ins"
40 #define DEFAULT_DSSI_PATH "%ProgramFiles%\\DSSI Plugins" 50 #define DEFAULT_DSSI_PATH "%ProgramFiles%\\DSSI Plugins"
41 51
42 #define getpid _getpid 52 #define getpid _getpid
43 53
44 extern "C" { 54 extern "C" {