mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-18 08:56:45 -05: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
|
|
@ -211,6 +211,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);
|
||||
|
||||
this->have_profile = true;
|
||||
this->port_count = info.info.raw.channels;
|
||||
for (i = 0; i < this->port_count; i++) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue