mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-05-01 06:46:47 -04:00
Merge branch 'master' into 'master'
audioadapter: fix recalc_tag ParamTag direction filter See merge request pipewire/pipewire!2805
This commit is contained in:
commit
c6ace0a197
2 changed files with 2 additions and 2 deletions
|
|
@ -716,7 +716,7 @@ static int recalc_tag(struct impl *this, struct spa_node *src, enum spa_directio
|
||||||
}
|
}
|
||||||
if ((res = spa_tag_parse(param, &info, &tag_state)) < 0)
|
if ((res = spa_tag_parse(param, &info, &tag_state)) < 0)
|
||||||
return res;
|
return res;
|
||||||
if (info.direction == direction)
|
if (info.direction == SPA_DIRECTION_REVERSE(direction))
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
return spa_node_port_set_param(dst, SPA_DIRECTION_REVERSE(direction), 0,
|
return spa_node_port_set_param(dst, SPA_DIRECTION_REVERSE(direction), 0,
|
||||||
|
|
|
||||||
|
|
@ -725,7 +725,7 @@ static int recalc_tag(struct impl *this, struct spa_node *src, enum spa_directio
|
||||||
}
|
}
|
||||||
if ((res = spa_tag_parse(param, &info, &tag_state)) < 0)
|
if ((res = spa_tag_parse(param, &info, &tag_state)) < 0)
|
||||||
return res;
|
return res;
|
||||||
if (info.direction == direction)
|
if (info.direction == SPA_DIRECTION_REVERSE(direction))
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
return spa_node_port_set_param(dst, SPA_DIRECTION_REVERSE(direction), 0,
|
return spa_node_port_set_param(dst, SPA_DIRECTION_REVERSE(direction), 0,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue