mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-04-29 06:46:38 -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)
|
||||
return res;
|
||||
if (info.direction == direction)
|
||||
if (info.direction == SPA_DIRECTION_REVERSE(direction))
|
||||
break;
|
||||
}
|
||||
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)
|
||||
return res;
|
||||
if (info.direction == direction)
|
||||
if (info.direction == SPA_DIRECTION_REVERSE(direction))
|
||||
break;
|
||||
}
|
||||
return spa_node_port_set_param(dst, SPA_DIRECTION_REVERSE(direction), 0,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue