diff options
author | David Robillard <d@drobilla.net> | 2011-04-29 18:48:45 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-04-29 18:48:45 +0000 |
commit | 9839d7e46892d695bbfdf0ddcf2fcb616e41b1ec (patch) | |
tree | d502826e4fb60c78aa25889d029aa674f57f13d8 /src/instance.c | |
parent | 1e7b27c7b322476c437a8524cff4a88245c5efbf (diff) | |
download | lilv-9839d7e46892d695bbfdf0ddcf2fcb616e41b1ec.tar.gz lilv-9839d7e46892d695bbfdf0ddcf2fcb616e41b1ec.tar.bz2 lilv-9839d7e46892d695bbfdf0ddcf2fcb616e41b1ec.zip |
Rename command line utilities to avoid clashing with slv2.
Fix indentation.
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3235 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/instance.c')
-rw-r--r-- | src/instance.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/instance.c b/src/instance.c index 9f99534..717bdb6 100644 --- a/src/instance.c +++ b/src/instance.c @@ -61,14 +61,14 @@ lilv_plugin_instantiate(const LilvPlugin* plugin, } else { // Search for plugin by URI - const char* bundle_path = lilv_uri_to_path(lilv_node_as_uri( - lilv_plugin_get_bundle_uri(plugin))); + const char* bundle_path = lilv_uri_to_path( + lilv_node_as_uri(lilv_plugin_get_bundle_uri(plugin))); for (uint32_t i = 0; true; ++i) { const LV2_Descriptor* ld = df(i); if (!ld) { LILV_ERRORF("Did not find plugin %s in %s\n", - lilv_node_as_uri(lilv_plugin_get_uri(plugin)), lib_path); + lilv_node_as_uri(lilv_plugin_get_uri(plugin)), lib_path); dlclose(lib); break; // return NULL } else { @@ -96,8 +96,9 @@ lilv_plugin_instantiate(const LilvPlugin* plugin, // Create LilvInstance to return result = malloc(sizeof(struct LilvInstanceImpl)); result->lv2_descriptor = ld; - result->lv2_handle = ld->instantiate(ld, sample_rate, (char*)bundle_path, - (features) ? features : local_features); + result->lv2_handle = ld->instantiate( + ld, sample_rate, (char*)bundle_path, + (features) ? features : local_features); result->pimpl = lib; serd_node_free(&abs_uri_node); break; |