jack: fix for api change

This commit is contained in:
Wim Taymans 2019-08-01 13:54:30 +02:00
parent 8428103e92
commit d405ca97ec

View file

@ -858,7 +858,7 @@ static int client_node_set_io(void *object,
uint32_t tag[5] = { c->node_id, id, }; uint32_t tag[5] = { c->node_id, id, };
if (mem_id == SPA_ID_INVALID) { if (mem_id == SPA_ID_INVALID) {
if ((mm = pw_mempool_find_tag(c->remote->pool, tag)) != NULL) if ((mm = pw_mempool_find_tag(c->remote->pool, tag, sizeof(tag))) != NULL)
pw_memmap_free(mm); pw_memmap_free(mm);
mm = ptr = NULL; mm = ptr = NULL;
size = 0; size = 0;
@ -1300,7 +1300,7 @@ static int client_node_port_set_io(void *object,
} }
if (mem_id == SPA_ID_INVALID) { if (mem_id == SPA_ID_INVALID) {
if ((mm = pw_mempool_find_tag(c->remote->pool, tag)) != NULL) if ((mm = pw_mempool_find_tag(c->remote->pool, tag, sizeof(tag))) != NULL)
pw_memmap_free(mm); pw_memmap_free(mm);
mm = ptr = NULL; mm = ptr = NULL;