comparison vamp-sdk/PluginHostAdapter.cpp @ 35:154f86cb8c99

* Add an implementation of Dan Barry's percussion onset detector
author cannam
date Wed, 20 Sep 2006 13:51:22 +0000
parents 13eae6cc6bac
children be8fdfe25693
comparison
equal deleted inserted replaced
34:cfba7059eccf 35:154f86cb8c99
70 #define PATH_SEPARATOR ';' 70 #define PATH_SEPARATOR ';'
71 #define DEFAULT_VAMP_PATH "%ProgramFiles%\\Vamp Plugins" 71 #define DEFAULT_VAMP_PATH "%ProgramFiles%\\Vamp Plugins"
72 #else 72 #else
73 #define PATH_SEPARATOR ':' 73 #define PATH_SEPARATOR ':'
74 #ifdef __APPLE__ 74 #ifdef __APPLE__
75 #define DEFAULT_VAMP_PATH "/Library/Audio/Plug-Ins/Vamp/:$HOME/Library/Audio/Plug-Ins/Vamp" 75 #define DEFAULT_VAMP_PATH "$HOME/Library/Audio/Plug-Ins/Vamp:/Library/Audio/Plug-Ins/Vamp"
76 #else 76 #else
77 #define DEFAULT_VAMP_PATH "/usr/local/lib/vamp:/usr/lib/vamp:$HOME/vamp:$HOME/.vamp" 77 #define DEFAULT_VAMP_PATH "$HOME/vamp:$HOME/.vamp:/usr/local/lib/vamp:/usr/lib/vamp"
78 #endif 78 #endif
79 #endif 79 #endif
80 80
81 if (envPath == "") { 81 if (envPath == "") {
82 envPath = DEFAULT_VAMP_PATH; 82 envPath = DEFAULT_VAMP_PATH;