diff base/System.h @ 83:b2067aff8cd6

* Fix crash in spectrogram layer when replacing model * Change sample player's sample path to a single sample directory. This makes it immune to OS path separator differences, and ensures it can reject configure calls that try to set a nonexistent directory. Reloading play parameters (e.g. sample program) should now work. * some win32 fixes.
author Chris Cannam
date Wed, 26 Apr 2006 16:00:13 +0000
parents 8739096929dd
children e076e676439b
line wrap: on
line diff
--- a/base/System.h	Wed Apr 26 14:09:55 2006 +0000
+++ b/base/System.h	Wed Apr 26 16:00:13 2006 +0000
@@ -32,7 +32,7 @@
 
 #define PLUGIN_GLOB  "*.dll"
 #define PATH_SEPARATOR ';'
-#define DEFAULT_VAMP_PATH "C:\\Program Files\\Vamp Plugins"
+#define DEFAULT_VAMP_PATH "%ProgramFiles%\\Vamp Plugins"
 
 extern "C" {
 void gettimeofday(struct timeval *p, void *tz);