jack: uuid of ports is based on the id, not serial

This commit is contained in:
Wim Taymans 2022-01-23 09:34:19 +01:00
parent 899281be60
commit 6ab56804e8

View file

@ -4381,7 +4381,7 @@ jack_uuid_t jack_port_uuid (const jack_port_t *port)
{
struct object *o = (struct object *) port;
spa_return_val_if_fail(o != NULL, 0);
return jack_port_uuid_generate(o->serial);
return jack_port_uuid_generate(o->id);
}
SPA_EXPORT