summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/plugininstance.c8
-rw-r--r--src/pluginlist.c2
2 files changed, 5 insertions, 5 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);
diff --git a/src/pluginlist.c b/src/pluginlist.c
index 6818cf5..18bb44f 100644
--- a/src/pluginlist.c
+++ b/src/pluginlist.c
@@ -64,7 +64,7 @@ slv2_list_load_all(SLV2List list)
const char* const suffix = "/.lv2:/usr/local/lib/lv2:usr/lib/lv2";
slv2_path = strjoin(home, suffix, NULL);
- printf("$LV2_PATH is unset. Using default path %s\n", slv2_path);
+ fprintf(stderr, "$LV2_PATH is unset. Using default path %s\n", slv2_path);
slv2_list_load_path(list, slv2_path);
free(slv2_path);