mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-11 17:13:37 +02:00
Update lilv, lv2, serd, sord, sratom, and add suil.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright 2011-2012 David Robillard <http://drobilla.net>
|
||||
Copyright 2011-2014 David Robillard <http://drobilla.net>
|
||||
|
||||
Permission to use, copy, modify, and/or distribute this software for any
|
||||
purpose with or without fee is hereby granted, provided that the above
|
||||
@@ -34,7 +34,7 @@ bench_elapsed_s(const struct timespec* start, const struct timespec* end)
|
||||
}
|
||||
|
||||
static inline struct timespec
|
||||
bench_start()
|
||||
bench_start(void)
|
||||
{
|
||||
struct timespec start_t;
|
||||
clock_gettime(CLOCK_REALTIME, &start_t);
|
||||
|
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright 2007-2011 David Robillard <http://drobilla.net>
|
||||
Copyright 2007-2012 David Robillard <http://drobilla.net>
|
||||
|
||||
Permission to use, copy, modify, and/or distribute this software for any
|
||||
purpose with or without fee is hereby granted, provided that the above
|
||||
|
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright 2007-2011 David Robillard <http://drobilla.net>
|
||||
Copyright 2007-2014 David Robillard <http://drobilla.net>
|
||||
|
||||
Permission to use, copy, modify, and/or distribute this software for any
|
||||
purpose with or without fee is hereby granted, provided that the above
|
||||
@@ -118,9 +118,9 @@ print_port(const LilvPlugin* p,
|
||||
if (lilv_port_is_a(p, port, control_class)) {
|
||||
if (!isnan(mins[index]))
|
||||
printf("\t\tMinimum: %f\n", mins[index]);
|
||||
if (!isnan(mins[index]))
|
||||
if (!isnan(maxes[index]))
|
||||
printf("\t\tMaximum: %f\n", maxes[index]);
|
||||
if (!isnan(mins[index]))
|
||||
if (!isnan(defaults[index]))
|
||||
printf("\t\tDefault: %f\n", defaults[index]);
|
||||
}
|
||||
|
||||
@@ -323,7 +323,7 @@ print_version(void)
|
||||
{
|
||||
printf(
|
||||
"lv2info (lilv) " LILV_VERSION "\n"
|
||||
"Copyright 2007-2011 David Robillard <http://drobilla.net>\n"
|
||||
"Copyright 2007-2014 David Robillard <http://drobilla.net>\n"
|
||||
"License: <http://www.opensource.org/licenses/isc-license>\n"
|
||||
"This is free software: you are free to change and redistribute it.\n"
|
||||
"There is NO WARRANTY, to the extent permitted by law.\n");
|
||||
@@ -399,17 +399,25 @@ main(int argc, char** argv)
|
||||
const LilvPlugin* p = lilv_plugins_get_by_uri(plugins, uri);
|
||||
|
||||
if (p && plugin_file) {
|
||||
LilvNode* base = lilv_new_uri(world, plugin_file);
|
||||
LilvNode* base = lilv_new_file_uri(world, NULL, plugin_file);
|
||||
|
||||
FILE* plugin_fd = fopen(plugin_file, "a");
|
||||
lilv_plugin_write_description(world, p, base, plugin_fd);
|
||||
fclose(plugin_fd);
|
||||
if (plugin_fd) {
|
||||
lilv_plugin_write_description(world, p, base, plugin_fd);
|
||||
fclose(plugin_fd);
|
||||
} else {
|
||||
fprintf(stderr, "error: Failed to open %s\n", plugin_file);
|
||||
}
|
||||
|
||||
if (manifest_file) {
|
||||
FILE* manifest_fd = fopen(manifest_file, "a");
|
||||
lilv_plugin_write_manifest_entry(
|
||||
world, p, base, manifest_fd, plugin_file);
|
||||
fclose(manifest_fd);
|
||||
if (manifest_fd) {
|
||||
lilv_plugin_write_manifest_entry(
|
||||
world, p, base, manifest_fd, plugin_file);
|
||||
fclose(manifest_fd);
|
||||
} else {
|
||||
fprintf(stderr, "error: Failed to open %s\n", manifest_file);
|
||||
}
|
||||
}
|
||||
lilv_node_free(base);
|
||||
} else if (p) {
|
||||
|
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright 2007-2011 David Robillard <http://drobilla.net>
|
||||
Copyright 2007-2012 David Robillard <http://drobilla.net>
|
||||
|
||||
Permission to use, copy, modify, and/or distribute this software for any
|
||||
purpose with or without fee is hereby granted, provided that the above
|
||||
@@ -41,7 +41,7 @@ print_version(void)
|
||||
{
|
||||
printf(
|
||||
"lv2ls (lilv) " LILV_VERSION "\n"
|
||||
"Copyright 2007-2011 David Robillard <http://drobilla.net>\n"
|
||||
"Copyright 2007-2012 David Robillard <http://drobilla.net>\n"
|
||||
"License: <http://www.opensource.org/licenses/isc-license>\n"
|
||||
"This is free software: you are free to change and redistribute it.\n"
|
||||
"There is NO WARRANTY, to the extent permitted by law.\n");
|
||||
|
Reference in New Issue
Block a user