Mercurial > hg > jvamp
diff 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 |
line wrap: on
line diff
--- a/org/vamp_plugins/PluginLoader.java Mon Jan 28 14:17:40 2013 +0000 +++ b/org/vamp_plugins/PluginLoader.java Mon Feb 25 21:47:00 2013 +0000 @@ -165,6 +165,15 @@ */ public native String[] getPluginCategory(String key); + /** + * Return the plugin path, that is, the series of local file + * folders that will be searched for plugin files. This is + * platform-specific; it may be a default path, or it may be + * determined by factors such as the VAMP_PATH environment + * variable. + */ + public native String[] getPluginPath(); + private PluginLoader() { initialise(); } private native long loadPluginNative(String key, float inputSampleRate, int adapterFlags);