summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-10-03 21:10:15 +0000
committerDavid Robillard <d@drobilla.net>2007-10-03 21:10:15 +0000
commit26eede34411b65b484970b2e3524ff7419f58305 (patch)
tree61247b1d53ad2c127e3e4dd1d5ee1c2619fcf07b
parent4bd195662b9cf120cce37221f8970d80e619be56 (diff)
downloadlilv-26eede34411b65b484970b2e3524ff7419f58305.tar.gz
lilv-26eede34411b65b484970b2e3524ff7419f58305.tar.bz2
lilv-26eede34411b65b484970b2e3524ff7419f58305.zip
Fix latency for updated LV2 spec.
git-svn-id: http://svn.drobilla.net/lad/slv2@813 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r--src/plugin.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/plugin.c b/src/plugin.c
index 20c8c5f..b6789c6 100644
--- a/src/plugin.c
+++ b/src/plugin.c
@@ -459,9 +459,9 @@ slv2_plugin_has_latency(SLV2Plugin p)
{
const char* const query =
"SELECT DISTINCT ?index WHERE {\n"
- " <> lv2:port ?port .\n"
- " ?port lv2:portHint lv2:reportsLatency ;\n"
- " lv2:index ?index .\n"
+ " <> lv2:port ?port .\n"
+ " ?port lv2:portProperty lv2:reportsLatency ;\n"
+ " lv2:index ?index .\n"
"}\n";
SLV2Values results = slv2_plugin_simple_query(p, query, 0);
@@ -477,9 +477,9 @@ slv2_plugin_get_latency_port(SLV2Plugin p)
{
const char* const query =
"SELECT DISTINCT ?index WHERE {\n"
- " <> lv2:port ?port .\n"
- " ?port lv2:portHint lv2:reportsLatency ;\n"
- " lv2:index ?index .\n"
+ " <> lv2:port ?port .\n"
+ " ?port lv2:portProperty lv2:reportsLatency ;\n"
+ " lv2:index ?index .\n"
"}\n";
SLV2Values result = slv2_plugin_simple_query(p, query, 0);