diff options
author | David Robillard <d@drobilla.net> | 2007-10-11 04:23:59 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-10-11 04:23:59 +0000 |
commit | 423a543d2f2395a8aa6876253b2da5c4257d4839 (patch) | |
tree | 8c1e8b7bba17e98fa1352618efece2a44332b950 /utils | |
parent | c3631e70c70086539dd271322c413096417a0c1c (diff) | |
download | lilv-423a543d2f2395a8aa6876253b2da5c4257d4839.tar.gz lilv-423a543d2f2395a8aa6876253b2da5c4257d4839.tar.bz2 lilv-423a543d2f2395a8aa6876253b2da5c4257d4839.zip |
Update ladspa2lv2 slightly...
git-svn-id: http://svn.drobilla.net/lad/slv2@872 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'utils')
-rw-r--r-- | utils/ladspa2lv2.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/utils/ladspa2lv2.c b/utils/ladspa2lv2.c index d4bf827..be6ef13 100644 --- a/utils/ladspa2lv2.c +++ b/utils/ladspa2lv2.c @@ -287,7 +287,7 @@ write_lv2_turtle(LADSPA_Descriptor* descriptor, const char* plugin_uri, const ch if (LADSPA_IS_HARD_RT_CAPABLE(descriptor->Properties)) add_resource(model, plugin, - NS_LV2("property"), + NS_LV2("optionalFeature"), NS_LV2("hardRTCapable")); for (uint32_t i=0; i < descriptor->PortCount; ++i) { @@ -339,7 +339,7 @@ write_lv2_turtle(LADSPA_Descriptor* descriptor, const char* plugin_uri, const ch void print_usage() { - printf("Usage: ladspa2slv2 /path/to/laddspalib.so ladspa_index lv2_uri\n"); + printf("Usage: ladspa2lv2 /path/to/ladspalib.so ladspa_index lv2_uri output_data_file\n"); printf("Partially convert a LADSPA plugin to an LV2 plugin.\n"); printf("This utility is for developers, it will not generate a usable\n"); printf("LV2 plugin directly.\n\n"); @@ -349,7 +349,7 @@ print_usage() int main(int argc, char** argv) { - if (argc != 4) { + if (argc != 5) { print_usage(); return 1; } @@ -365,7 +365,7 @@ main(int argc, char** argv) if (descriptor) { printf("Loaded %s : %lu\n", lib_path, index); - write_lv2_turtle(descriptor, uri, "ladspaplugin.ttl"); + write_lv2_turtle(descriptor, uri, argv[4]); } else { printf("Failed to load %s : %lu\n", lib_path, index); } |