diff options
author | David Robillard <d@drobilla.net> | 2007-02-05 22:34:56 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-02-05 22:34:56 +0000 |
commit | 1988a63b41a0e81f348d5df3394d41d3248d442b (patch) | |
tree | 2ec6758a2554f6456ae0f377cc47b4f1260a8b2d /src | |
parent | 1f0922ab4982da825ddfbb792ec9f871b2b88804 (diff) | |
download | lilv-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')
-rw-r--r-- | src/plugininstance.c | 8 | ||||
-rw-r--r-- | src/pluginlist.c | 2 |
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); |