Mercurial > hg > svcore
comparison system/System.h @ 368:bef4604d82fa
* munlockall
author | Chris Cannam |
---|---|
date | Tue, 29 Jan 2008 19:54:54 +0000 |
parents | 15b47d30c085 |
children | ca208281238b |
comparison
equal
deleted
inserted
replaced
367:722bc705775a | 368:bef4604d82fa |
---|---|
23 #include <process.h> | 23 #include <process.h> |
24 | 24 |
25 #define MLOCK(a,b) 1 | 25 #define MLOCK(a,b) 1 |
26 #define MUNLOCK(a,b) 1 | 26 #define MUNLOCK(a,b) 1 |
27 #define MUNLOCK_SAMPLEBLOCK(a) 1 | 27 #define MUNLOCK_SAMPLEBLOCK(a) 1 |
28 #define MUNLOCKALL() 1 | |
28 | 29 |
29 #define DLOPEN(a,b) LoadLibrary((a).toStdWString().c_str()) | 30 #define DLOPEN(a,b) LoadLibrary((a).toStdWString().c_str()) |
30 #define DLSYM(a,b) GetProcAddress((HINSTANCE)(a),(b)) | 31 #define DLSYM(a,b) GetProcAddress((HINSTANCE)(a),(b)) |
31 #define DLCLOSE(a) (!FreeLibrary((HINSTANCE)(a))) | 32 #define DLCLOSE(a) (!FreeLibrary((HINSTANCE)(a))) |
32 #define DLERROR() "" | 33 #define DLERROR() "" |
80 #define PATH_SEPARATOR ':' | 81 #define PATH_SEPARATOR ':' |
81 | 82 |
82 #define DEFAULT_LADSPA_PATH "$HOME/Library/Audio/Plug-Ins/LADSPA:/Library/Audio/Plug-Ins/LADSPA" | 83 #define DEFAULT_LADSPA_PATH "$HOME/Library/Audio/Plug-Ins/LADSPA:/Library/Audio/Plug-Ins/LADSPA" |
83 #define DEFAULT_DSSI_PATH "$HOME/Library/Audio/Plug-Ins/DSSI:/Library/Audio/Plug-Ins/DSSI" | 84 #define DEFAULT_DSSI_PATH "$HOME/Library/Audio/Plug-Ins/DSSI:/Library/Audio/Plug-Ins/DSSI" |
84 | 85 |
86 #define MUNLOCKALL() 1 | |
87 | |
85 #else | 88 #else |
86 | 89 |
87 #define PLUGIN_GLOB "*.so" | 90 #define PLUGIN_GLOB "*.so" |
88 #define PATH_SEPARATOR ':' | 91 #define PATH_SEPARATOR ':' |
89 | 92 |
90 #define DEFAULT_LADSPA_PATH "$HOME/ladspa:$HOME/.ladspa:/usr/local/lib/ladspa:/usr/lib/ladspa" | 93 #define DEFAULT_LADSPA_PATH "$HOME/ladspa:$HOME/.ladspa:/usr/local/lib/ladspa:/usr/lib/ladspa" |
91 #define DEFAULT_DSSI_PATH "$HOME/dssi:$HOME/.dssi:/usr/local/lib/dssi:/usr/lib/dssi" | 94 #define DEFAULT_DSSI_PATH "$HOME/dssi:$HOME/.dssi:/usr/local/lib/dssi:/usr/lib/dssi" |
95 | |
96 #define MUNLOCKALL() ::munlockall() | |
92 | 97 |
93 #endif /* __APPLE__ */ | 98 #endif /* __APPLE__ */ |
94 | 99 |
95 #endif /* ! _WIN32 */ | 100 #endif /* ! _WIN32 */ |
96 | 101 |