mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-20 08:56:56 -05:00
Make PinosPort struct
Keep track of the ports, their links and the allocated buffers in a small struct managed by the node.
This commit is contained in:
parent
c6861845a7
commit
fe37e2bc1b
4 changed files with 364 additions and 417 deletions
|
|
@ -204,11 +204,11 @@ on_link_state_notify (GObject *obj,
|
|||
{
|
||||
g_warning ("daemon %p: link %p: state error: %s", daemon, link, error->message);
|
||||
|
||||
if (link->input_node) {
|
||||
pinos_node_report_error (link->input_node, g_error_copy (error));
|
||||
if (link->input->node) {
|
||||
pinos_node_report_error (link->input->node, g_error_copy (error));
|
||||
}
|
||||
if (link->output_node) {
|
||||
pinos_node_report_error (link->output_node, g_error_copy (error));
|
||||
if (link->output->node) {
|
||||
pinos_node_report_error (link->output->node, g_error_copy (error));
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue