mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
audioconvert: when we reconfigure, emit param changed event
When we reconfigure the node, the Props param changes with the new number of channels.
This commit is contained in:
parent
b17fe4aba4
commit
ef98361630
1 changed files with 2 additions and 1 deletions
|
|
@ -704,7 +704,8 @@ static int reconfigure_mode(struct impl *this, enum spa_param_port_config_mode m
|
||||||
if (res < 0)
|
if (res < 0)
|
||||||
return res;
|
return res;
|
||||||
|
|
||||||
this->info.change_mask |= SPA_NODE_CHANGE_MASK_FLAGS;
|
this->info.change_mask |= SPA_NODE_CHANGE_MASK_FLAGS | SPA_NODE_CHANGE_MASK_PARAMS;
|
||||||
|
this->params[3].flags ^= SPA_PARAM_INFO_SERIAL;
|
||||||
this->info.flags &= ~SPA_NODE_FLAG_NEED_CONFIGURE;
|
this->info.flags &= ~SPA_NODE_FLAG_NEED_CONFIGURE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue