Mercurial > hg > jvamp
comparison org/vamp_plugins/PluginLoader.java @ 45:5cb76aa45ee5
Add getPluginPath (it's useful for looking up other resources, e.g. cat/ttl files, besides plugins)
author | Chris Cannam |
---|---|
date | Mon, 25 Feb 2013 21:47:00 +0000 |
parents | a17756868013 |
children |
comparison
equal
deleted
inserted
replaced
44:1fa3d63bfeac | 45:5cb76aa45ee5 |
---|---|
163 * If the plugin has no category information, return an empty | 163 * If the plugin has no category information, return an empty |
164 * list. | 164 * list. |
165 */ | 165 */ |
166 public native String[] getPluginCategory(String key); | 166 public native String[] getPluginCategory(String key); |
167 | 167 |
168 /** | |
169 * Return the plugin path, that is, the series of local file | |
170 * folders that will be searched for plugin files. This is | |
171 * platform-specific; it may be a default path, or it may be | |
172 * determined by factors such as the VAMP_PATH environment | |
173 * variable. | |
174 */ | |
175 public native String[] getPluginPath(); | |
176 | |
168 private PluginLoader() { initialise(); } | 177 private PluginLoader() { initialise(); } |
169 private native long loadPluginNative(String key, float inputSampleRate, | 178 private native long loadPluginNative(String key, float inputSampleRate, |
170 int adapterFlags); | 179 int adapterFlags); |
171 private native void initialise(); | 180 private native void initialise(); |
172 private static PluginLoader inst; | 181 private static PluginLoader inst; |