summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-04-20 21:25:38 +0000
committerDavid Robillard <d@drobilla.net>2007-04-20 21:25:38 +0000
commit09e5c017b096bc84bbbc0b273baffd221144213a (patch)
tree9a591b9b23132cd0e98e5ec85a20256290e5a141 /utils
parent500fab47e5e9aadb6e09a71a6c3447e97f3a6d6a (diff)
downloadlilv-09e5c017b096bc84bbbc0b273baffd221144213a.tar.gz
lilv-09e5c017b096bc84bbbc0b273baffd221144213a.tar.bz2
lilv-09e5c017b096bc84bbbc0b273baffd221144213a.zip
Preliminary categories support.
git-svn-id: http://svn.drobilla.net/lad/slv2@465 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'utils')
-rw-r--r--utils/lv2_inspect.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/utils/lv2_inspect.c b/utils/lv2_inspect.c
index 710b791..75b6fac 100644
--- a/utils/lv2_inspect.c
+++ b/utils/lv2_inspect.c
@@ -96,6 +96,9 @@ print_plugin(SLV2Plugin p)
str = slv2_plugin_get_name(p);
printf("\tName: %s\n\n", str);
free(str);
+
+ const char* class_label = slv2_category_get_label(slv2_plugin_get_category(p));
+ printf("\tClass: %s\n\n", class_label);
if (slv2_plugin_has_latency(p))
printf("\tHas latency: yes\n\n");