diff base/System.h @ 78:c983dda79f72

* Replace crash with warning when a transform could not be automatically re-run * More sensible default paths for Vamp plugin lookup (at least on Linux and OS/X) * A start to making the y coords for time value layers etc align * Set sensible y coords for text labels in time instant and value layers
author Chris Cannam
date Thu, 13 Apr 2006 18:29:10 +0000
parents d26c85099215
children 8739096929dd
line wrap: on
line diff
--- a/base/System.h	Wed Apr 12 09:59:40 2006 +0000
+++ b/base/System.h	Thu Apr 13 18:29:10 2006 +0000
@@ -31,6 +31,8 @@
 #define DLERROR()    ""
 
 #define PLUGIN_GLOB  "*.dll"
+#define PATH_SEPARATOR ';'
+#define DEFAULT_VAMP_PATH ""
 
 extern "C" {
 void gettimeofday(struct timeval *p, void *tz);
@@ -50,13 +52,17 @@
 #define DLCLOSE(a)   dlclose((a))
 #define DLERROR()    dlerror()
 
+#define PATH_SEPARATOR ':'
+
 #ifdef __APPLE__
 
 #define PLUGIN_GLOB  "*.dylib"
+#define DEFAULT_VAMP_PATH "/Library/Audio/Plug-Ins/VAMP/:$HOME/Library/Audio/Plug-Ins/VAMP"
 
 #else 
 
 #define PLUGIN_GLOB  "*.so"
+#define DEFAULT_VAMP_PATH "/usr/local/lib/vamp:/usr/lib/vamp:$HOME/vamp:$HOME/.vamp"
 
 #endif /* __APPLE__ */