mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-06-09 03:01:53 -04:00
milan-avb: stream: wire Milan Section 5.4.5 stream counters, TX heartbeat, and MAX_TRANSIT_TIME plumbing
This commit is contained in:
parent
16d793db38
commit
9c0007173b
11 changed files with 487 additions and 46 deletions
|
|
@ -172,6 +172,13 @@ struct aecp_aem_stream_input_state {
|
|||
/* Milan Section 5.4.5 counter unsolicited rate-limit (see avb_interface_state). */
|
||||
bool counters_dirty;
|
||||
int64_t last_counters_emit_ns;
|
||||
|
||||
/* Milan Section 5.4.5.3 / Table 5.16: MEDIA_LOCKED ticks on the first valid
|
||||
* AVTPDU after a silence gap; MEDIA_UNLOCKED ticks when the gap
|
||||
* exceeds AVB_MEDIA_UNLOCK_TIMEOUT_NS. last_frame_rx_ns tracks the
|
||||
* most recent valid PDU; media_locked_state is the current edge. */
|
||||
int64_t last_frame_rx_ns;
|
||||
bool media_locked_state;
|
||||
};
|
||||
|
||||
struct acmp_stream_status_milan_v12 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue