summaryrefslogtreecommitdiffstats
path: root/src/plugininstance.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-02-05 22:34:56 +0000
committerDavid Robillard <d@drobilla.net>2007-02-05 22:34:56 +0000
commit1988a63b41a0e81f348d5df3394d41d3248d442b (patch)
tree2ec6758a2554f6456ae0f377cc47b4f1260a8b2d /src/plugininstance.c
parent1f0922ab4982da825ddfbb792ec9f871b2b88804 (diff)
downloadlilv-1988a63b41a0e81f348d5df3394d41d3248d442b.tar.gz
lilv-1988a63b41a0e81f348d5df3394d41d3248d442b.tar.bz2
lilv-1988a63b41a0e81f348d5df3394d41d3248d442b.zip
Reorganized tree in preparation for beta release.
Split simple (example) jack host and more useful one (with midi). Working Jack/LV2 midi in lv2_jack_host. Added lv2_list. git-svn-id: http://svn.drobilla.net/lad/slv2@279 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/plugininstance.c')
-rw-r--r--src/plugininstance.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugininstance.c b/src/plugininstance.c
index edc6e4f..9c6bf15 100644
--- a/src/plugininstance.c
+++ b/src/plugininstance.c
@@ -48,14 +48,14 @@ slv2_plugin_instantiate(const SLV2Plugin* plugin,
dlerror();
void* lib = dlopen((char*)lib_path, RTLD_NOW);
if (!lib) {
- printf("Unable to open library %s (%s)\n", lib_path, dlerror());
+ fprintf(stderr, "Unable to open library %s (%s)\n", lib_path, dlerror());
return NULL;
}
LV2_Descriptor_Function df = dlsym(lib, "lv2_descriptor");
if (!df) {
- printf("Could not find symbol 'lv2_descriptor', "
+ fprintf(stderr, "Could not find symbol 'lv2_descriptor', "
"%s is not a LV2 plugin.\n", lib_path);
dlclose(lib);
return NULL;
@@ -68,12 +68,12 @@ slv2_plugin_instantiate(const SLV2Plugin* plugin,
const LV2_Descriptor* ld = df(i);
if (!ld) {
- printf("Did not find plugin %s in %s\n",
+ fprintf(stderr, "Did not find plugin %s in %s\n",
plugin->plugin_uri, plugin->lib_url);
dlclose(lib);
break; // return NULL
} else if (!strcmp(ld->URI, (char*)plugin->plugin_uri)) {
- printf("Found %s at index %u in:\n\t%s\n\n", plugin->plugin_uri, i, lib_path);
+ //printf("Found %s at index %u in:\n\t%s\n\n", plugin->plugin_uri, i, lib_path);
assert(ld->instantiate);