aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2021-01-13 12:39:27 +0100
committerHanspeter Portner <dev@open-music-kontrollers.ch>2021-01-13 12:39:27 +0100
commit3ddc9edf033062a8f7e535492076ab844909f964 (patch)
tree9e8ed9754d6ccbd16d5348030f2e7da1b52192e1
parent175712f19656ab90b9b74384bfa81b32b5b21d9e (diff)
downloadpatchmatrix-3ddc9edf033062a8f7e535492076ab844909f964.tar.xz
use jack port group metadata instead of jackey designation.
-rw-r--r--VERSION2
-rw-r--r--patchmatrix_db.c2
-rw-r--r--patchmatrix_jack.c4
3 files changed, 4 insertions, 4 deletions
diff --git a/VERSION b/VERSION
index f302267..d0c523e 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-0.21.13
+0.21.23
diff --git a/patchmatrix_db.c b/patchmatrix_db.c
index da09ef0..5b781bf 100644
--- a/patchmatrix_db.c
+++ b/patchmatrix_db.c
@@ -648,7 +648,7 @@ _port_add(app_t *app, jack_port_t *jport)
{
char *value = NULL;
char *type = NULL;
- jack_get_property(port->uuid, JACKEY_DESIGNATION, &value, &type);
+ jack_get_property(port->uuid, JACK_METADATA_PORT_GROUP, &value, &type);
if(value)
{
port->designation = _designation_get(value);
diff --git a/patchmatrix_jack.c b/patchmatrix_jack.c
index c2b4b8f..835955e 100644
--- a/patchmatrix_jack.c
+++ b/patchmatrix_jack.c
@@ -253,7 +253,7 @@ _jack_anim(app_t *app)
_client_sort(port->client);
}
}
- else if(!strcmp(ev->property_change.key, JACKEY_DESIGNATION))
+ else if(!strcmp(ev->property_change.key, JACK_METADATA_PORT_GROUP))
{
port_t *port = _port_find_by_uuid(app, ev->property_change.uuid);
if(port)
@@ -340,7 +340,7 @@ _jack_anim(app_t *app)
needs_position_update = true;
}
else if(ev->property_change.key
- && !strcmp(ev->property_change.key, JACKEY_DESIGNATION))
+ && !strcmp(ev->property_change.key, JACK_METADATA_PORT_GROUP))
{
needs_designation_update = true;
}