mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
filter-chain: use the right description when linking
This commit is contained in:
parent
641e685d5b
commit
ca9225b5aa
1 changed files with 4 additions and 1 deletions
|
|
@ -1075,13 +1075,16 @@ static int setup_graph(struct graph *graph, struct spa_json *inputs, struct spa_
|
|||
desc = node->desc;
|
||||
d = desc->desc;
|
||||
spa_list_for_each(link, &node->output_link_list, output_link) {
|
||||
struct node *peer = link->input;
|
||||
const LADSPA_Descriptor *pd = peer->desc->desc;
|
||||
|
||||
for (i = 0; i < n_hndl; i++) {
|
||||
pw_log_info("link %d %s:%d %s:%d %p", i,
|
||||
node->name, link->output_port,
|
||||
link->input->name, link->input_port,
|
||||
link->audio_data);
|
||||
d->connect_port(node->hndl[i], link->output_port, link->audio_data);
|
||||
d->connect_port(link->input->hndl[i], link->input_port, link->audio_data);
|
||||
pd->connect_port(peer->hndl[i], link->input_port, link->audio_data);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue