mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05:00
pinossrc: handle latency and liveness
Use NULL filter when the port format enumeration returns nothing. Send clock update even when there is no clock. Don't send data to a port when the node is not streaming Add latency support to the clock update Copy the unset_mask when copying the formats
This commit is contained in:
parent
021eccb8ad
commit
b75d9786d4
13 changed files with 147 additions and 77 deletions
|
|
@ -1366,7 +1366,7 @@ spa_control_read (SpaControl *control,
|
|||
break;
|
||||
}
|
||||
if (len != hdr->length)
|
||||
return SPA_RESULT_ERROR;
|
||||
goto wrong_length;
|
||||
}
|
||||
|
||||
/* handle control messages */
|
||||
|
|
@ -1389,6 +1389,11 @@ recv_error:
|
|||
fprintf (stderr, "could not recvmsg: %s\n", strerror (errno));
|
||||
return SPA_RESULT_ERROR;
|
||||
}
|
||||
wrong_length:
|
||||
{
|
||||
fprintf (stderr, "wrong header length %zd != %u\n", len, hdr->length);
|
||||
return SPA_RESULT_ERROR;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue