milan-avb: stream: flag CRF streams and ignore CRF packets by subtype in RX

This commit is contained in:
hackerman-kl 2026-05-28 11:45:00 +00:00 committed by hackerman-kl
parent aef3d02173
commit fc6245dca3
2 changed files with 5 additions and 0 deletions

View file

@ -877,6 +877,10 @@ static void on_socket_data(void *data, int fd, uint32_t mask)
(struct avb_packet_iec61883 *)ph,
len - (int)sizeof(*h));
break;
case AVB_SUBTYPE_CRF:
/* CRF clock-reference stream: no audio data plane.
* Consume and ignore (clock recovery is future work). */
break;
default:
pw_log_warn("unsupported subtype 0x%02x", ph->subtype);
break;

View file

@ -37,6 +37,7 @@ struct stream {
struct spa_source *source;
struct spa_source *flush_timer;
uint64_t flush_last_ns;
bool is_crf;
int prio;
int mtt;
int t_uncertainty;