summaryrefslogtreecommitdiffstats
path: root/src/server/JackDriver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/JackDriver.cpp')
-rw-r--r--src/server/JackDriver.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/server/JackDriver.cpp b/src/server/JackDriver.cpp
index 04a07cc6..16c4d507 100644
--- a/src/server/JackDriver.cpp
+++ b/src/server/JackDriver.cpp
@@ -284,6 +284,10 @@ JackDriver::port_property_internal(const jack_port_t* jport,
if (uri == _engine.world()->uris().lv2_name) {
jack_set_property(_client, jack_port_uuid(jport),
JACK_METADATA_PRETTY_NAME, value.ptr<char>(), "text/plain");
+ } else if (uri == _engine.world()->uris().lv2_index) {
+ jack_set_property(_client, jack_port_uuid(jport),
+ JACKEY_ORDER, std::to_string(value.get<int32_t>()).c_str(),
+ "http://www.w3.org/2001/XMLSchema#integer");
} else if (uri == _engine.world()->uris().rdf_type) {
if (value == _engine.world()->uris().lv2_CVPort) {
jack_set_property(_client, jack_port_uuid(jport),