mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-05-30 21:37:53 -04:00
milan-avb: stream: flag CRF streams and ignore CRF packets by subtype in RX
This commit is contained in:
parent
7303a55b50
commit
320c979145
2 changed files with 5 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue