mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-03-02 01:40:31 -05:00
module-avb: mrp: add human readable m*rp states
This commit is contained in:
parent
5d39e1357e
commit
03428f3380
4 changed files with 112 additions and 2 deletions
|
|
@ -1,5 +1,7 @@
|
|||
/* AVB support */
|
||||
/* SPDX-FileCopyrightText: Copyright © 2022 Wim Taymans */
|
||||
/* SPDX-FileCopyrightText: Copyright © 2025 Kebag-Logic */
|
||||
/* SPDX-FileCopyrightText: Copyright © 2025 Alexandre Malki <alexandre.malki@kebag-logic.com> */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
|
||||
#include <unistd.h>
|
||||
|
|
@ -351,6 +353,7 @@ struct avb_msrp_attribute *avb_msrp_attribute_new(struct avb_msrp *m,
|
|||
a->msrp = msrp;
|
||||
a->attr.mrp = attr;
|
||||
a->attr.type = type;
|
||||
attr->name = "MSRP";
|
||||
spa_list_append(&msrp->attributes, &a->link);
|
||||
avb_mrp_attribute_add_listener(attr, &a->listener, &mrp_attr_events, a);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue