| 141 | } |
| 142 | |
| 143 | static const char* getPathForDSSI() |
| 144 | { |
| 145 | static std::string path; |
| 146 | |
| 147 | if (path.empty()) |
| 148 | { |
| 149 | #if defined(CARLA_OS_HAIKU) |
| 150 | path = homeDir() + "/.dssi:/system/add-ons/media/dssiplugins:/system/lib/dssi"; |
| 151 | #elif defined(CARLA_OS_MAC) |
| 152 | path = homeDir() + "/Library/Audio/Plug-Ins/DSSI:/Library/Audio/Plug-Ins/DSSI"; |
| 153 | #elif defined(CARLA_OS_WASM) |
| 154 | path = "/dssi"; |
| 155 | #elif defined(CARLA_OS_WIN) |
| 156 | path = getSpecialPath(kSpecialPathAppData) + "\\DSSI;"; |
| 157 | path += getSpecialPath(kSpecialPathProgramFiles) + "\\DSSI"; |
| 158 | #else |
| 159 | path = homeDir() + "/.dssi:/usr/lib/dssi:/usr/local/lib/dssi"; |
| 160 | #endif |
| 161 | } |
| 162 | |
| 163 | return path.c_str(); |
| 164 | } |
| 165 | |
| 166 | static const char* getPathForLV2() |
| 167 | { |
no test coverage detected