comparison 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
comparison
equal deleted inserted replaced
82:bf42d8d63885 83:b2067aff8cd6
30 #define DLCLOSE(a) FreeLibrary((HINSTANCE)(a)) 30 #define DLCLOSE(a) FreeLibrary((HINSTANCE)(a))
31 #define DLERROR() "" 31 #define DLERROR() ""
32 32
33 #define PLUGIN_GLOB "*.dll" 33 #define PLUGIN_GLOB "*.dll"
34 #define PATH_SEPARATOR ';' 34 #define PATH_SEPARATOR ';'
35 #define DEFAULT_VAMP_PATH "C:\\Program Files\\Vamp Plugins" 35 #define DEFAULT_VAMP_PATH "%ProgramFiles%\\Vamp Plugins"
36 36
37 extern "C" { 37 extern "C" {
38 void gettimeofday(struct timeval *p, void *tz); 38 void gettimeofday(struct timeval *p, void *tz);
39 } 39 }
40 40