mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
audioconvert: improve negotiation
Configure format and buffers when the ports are configured instead of in the start command.
This commit is contained in:
parent
0343297257
commit
f063cc9086
4 changed files with 74 additions and 12 deletions
|
|
@ -207,6 +207,8 @@ static int impl_node_set_param(struct spa_node *node, uint32_t id, uint32_t flag
|
|||
if (port->have_format && memcmp(&port->format, &info, sizeof(info)) == 0)
|
||||
return 0;
|
||||
|
||||
spa_log_debug(this->log, NAME " %p: profile %d", this, info.info.raw.channels);
|
||||
|
||||
port->have_format = true;
|
||||
port->format = info;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue