summaryrefslogtreecommitdiffstats
path: root/src/plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugin.c')
-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);