mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
jack: fix for api change
This commit is contained in:
parent
8428103e92
commit
d405ca97ec
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue